ElkArte Community

Project Support => Support => Topic started by: Antechinus on January 15, 2021, 05:43:22 pm

Title: Search function on this site
Post by: Antechinus on January 15, 2021, 05:43:22 pm
Got a few questions about the search function in Elk.

1/ Is this site running the built-in Elk search?
2/ If yes to 1, can you list the settings in use here?
3/ If no to 1, what is it using (ie: Sphinx, something else)?

Reason I'm asking is that search is near to useless on some sites, so I'm wondering how to fix it. :)

ETA: Supplementary question - are there any known bugs in the search that have been fixed since 1.09.?
Title: Re: Search function on this site
Post by: Spuds on January 15, 2021, 09:17:06 pm
It does not use Sphinx, I have some sites that do and it seems to work well, but its still no google :P

It uses the custom search index option, can't remember which index but it should be the largest size.  In 2.0 we should really consider removing the other custom index sizes since I don't want to answer the question of why one is better then the other and most of the reason why there are options is more due to dated server/hardware limitations that no longer apply.

Weights are
Relative search weight for number of matching messages within a topic:  30
Relative search weight for age of last matching message: 25
Relative search weight for topic length: 20
Relative search weight for a matching subject: 15
Relative search weight for a first message match: 10
Relative search weight for a pinned topic: 0
Relative search weight for topic likes: 0

Fixes since 1.0.9 -> https://github.com/elkarte/Elkarte/compare/v1.0.9...v1.0.10  I did not  see any changes to the standard or custom search API's
Title: Re: Search function on this site
Post by: ahrasis on January 16, 2021, 02:12:08 am
I think that the best answer but of course we are all excited to see the 2.0 version approach on this.
Title: Re: Search function on this site
Post by: Antechinus on January 16, 2021, 02:32:16 am
K. Thanks for that. :)