Skip to main content
Topic: Search function on this site (Read 1165 times) previous topic - next topic
0 Members and 1 Guest are viewing this topic.

Search function on this site

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.?
Master of Expletives: Now with improved family f@&king friendliness! :D

Sources code: making easy front end changes difficult since 1873. :P

Re: Search function on this site

Reply #1

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

 

Re: Search function on this site

Reply #3

K. Thanks for that. :)
Master of Expletives: Now with improved family f@&king friendliness! :D

Sources code: making easy front end changes difficult since 1873. :P