Hi Brian I'm really not sure - but maybe the = modifier can't be used within phrase searches? It's worth asking on the Sphinx forum, I think (as there's not super-complex examples in the docs).
-- Pat On 25/02/2010, at 6:34 PM, Brian Percival wrote: > And I guess as a follow-up question, what I was curious about being > able to do was to search for exact matches OR stemmed matches and I'm > pretty sure I was failing miserably. This is what I tried: > > * setting index_exact_words: 1 in sphinx.yml (yes, and then re- > indexing ;) ) > * running searches like > - "=my =dog =spot" | "my dog spot" > - (=my|my) (=dog|dog) (=spot|spot) > - (=my =dog =spot) | (my dog spot) > > (are any of these searches that should achieve what I'm trying to do?) > > All of which were pretty poor. over a broad set of tests (lots of real > user search terms), just searches of the form '=my =dog =spot' seemed > to do better (but worse than if i disable exact matching altogether), > which makes me think i've got some sphinx syntax wrong.... > > It's obviously no guarantee that what I'm trying to do is better than > just the regular stemmed searching, but hoping someone can confirm or > deny that what I've done looks right, if ineffective. Is there a > different search syntax I should be using? > > thanks again, > bp > > On Feb 24, 11:23 pm, Brian Percival <[email protected]> wrote: >> hey, i was trying to get set the sphinx indexer setting, >> index_exact_words, and i'm not entirely sure that it was having the >> effect i expected. so i searched here and found the post below, but am >> curious if there was any follow-up or updates. i searched the github >> issues, but didn't see anything about index_exact_words up there. feel >> free to just point me to a closed issue, another post or documentation >> for how to enable this option with thinking_sphinx. but is this option >> supported and should i set it to "1", "true" etc.? >> >> many thanks, >> bp >> >> --- >> >> http://groups.google.com/group/thinking-sphinx/browse_thread/thread/2... >> >> <quoted from this discussion group> >> >> Hi Matt >> Definitely intend to support all options... if you could create an >> issue on GitHub, then I definitely won't forget. >> Cheers >> -- > Pat >> On 24/10/2009, at 11:38 AM, matt (wr0ngway) wrote: >> >> - Hide quoted text - >> >>> Seems that sphinx 0.9.9 has many index options that the TS >> configuration doesn't pass through. The one in particular that I was >> looking to use is index_exact_words. Any plans to add these in soon? >>> Thanks, >>> Matt >> >> </quoted from this discussion group> >> >> ---- >> >> Discover books you'll love at Discovereads [beta] >> :http://www.discovereads.com > > ---- > Discover books you'll love at Discovereads [beta] : > http://www.discovereads.com > > -- > You received this message because you are subscribed to the Google Groups > "Thinking Sphinx" group. > To post to this group, send email to [email protected]. > To unsubscribe from this group, send email to > [email protected]. > For more options, visit this group at > http://groups.google.com/group/thinking-sphinx?hl=en. > -- You received this message because you are subscribed to the Google Groups "Thinking Sphinx" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/thinking-sphinx?hl=en.
