geekhack
Site Announcements and Feedback => Announcements/Feedback/Suggestions => Topic started by: rknize on Wed, 10 July 2013, 14:32:33
-
GeekHack is far too large for SMF's normal search indexer to cope with. This problem has been on my back burner for a while. We now have Sphinx up and running, which is not only much faster but should produce results with greater quality. For example, you can use search terms with less than 3 characters.
Let me know if there are any issues.
-
Woot!! This is so awesome....now to try it out.... ;)
-
Thank Christ, good work lads, thank you!
-
Assuming it is accessed from the search field in the upper right corner of the main page, I searched for "model m keycaps" (without quotes) and got this error:
Each word must be at least two characters long.
-
well, 2 is less than 3 :)
-
1 is also less than three ;)
-
1 is also less than three ;)
Now searching for all posts containing phrases "a" or "e" or "i" or "o" or "u".
-
Ok, so I searched for: "model m" keycaps
(quotes around "model m", no quote around keycaps, thinking that it might search for posts containing those two phrases, but ...
(http://i.imgur.com/Wmu4hjs.png)
-
You tricked it!
-
in theory, the query "model m" AND keycaps should work.
the query language documentation is here: http://sphinxsearch.com/docs/current.html#searching
however, to get this working, rknize had to rip out the smf search engine and glue in the sphinx backend, so consider this still to be a beta feature. however, the changeover to sphinx has been planned for a long time (a year, basically), so this is not in any way experimental. report bugs to the massive bug report thread (rknize has a possible method for that madness in the works as well, by the way).
-
I have it setup for extended syntax:
http://sphinxsearch.com/docs/current.html#extended-syntax
It seems like the phrase operator (quotes) don't work as expected. I'll look into this. Perhaps SMF is stripping the quotes.
-
Hmmm the syntax is similar to a combination of Concordance, dtSearch, and Lucene if anyone has worked in the legal industry like i do.
-
regex plz