Extension talk:SphinxSearch/Search options and features
Search options and features
editIn general it should be noted that any search option or feature such as (character sets, ability to search with *, search categories, minimum length on search terms etc.) are maintained through sphinx.conf file.
Case Sensitivity
editIs SphinxSearch case sensitive? --Robinson Weijman 11:42, 10 February 2009 (UTC)
- Yes, if you use default sphinx.conf that comes with it. If you want to change that, remove the "A..Z->a..z, " part from the charset_table setting. Svemir Brkic 13:53, 10 February 2009 (UTC)
- Thanks for the prompt response! --Robinson Weijman 15:16, 10 February 2009 (UTC)
Keyword Priority in Query String
editIt seems that the order of keywords actually changes the results. In my case, if I send a space delimited list of keywords, I get different search results depending on the position of my most important keywords. Am I missing a setting that prioritizes keywords based on there position in the query string? Cedarrapidsboy 13:45, 26 September 2008 (UTC)
- Yes, order of keywords matters, as well as the order and proximity of the matches in searched text. That is the function of the Sphinx itself, but you can affect it by changing the matching mode in SphinxSearch.php. Svemir Brkic 17:01, 26 September 2008 (UTC)
- Thanks. Is the order of keywords documented? I mean to say, where can I find information on where to put my most important words, and then my least important words? I understand the matching modes, but haven't read any mention of keyword position (with no operators joining them) affecting priority. I'm sure I'm likely blind. 12.207.221.230 00:23, 27 September 2008 (UTC)
Search syntax
editBeginning with 0.8+ the extension supports "intitle:", "incategory:", "prefix:", and other advanced Wikipedia search techniques. It further supports the extended sphinx search syntax such as the proximity search operator: "hello world"~10 and boolean operators.
Search suggestions
editA detailed description about different modes of search suggestions can be found here.