Hi Benjamin

As far as Sphinx is confirmed, '14H13.sp1' is two words: 14H13 and sp1. If you 
want it to be considered as one word (and thus not appear when searching for 
'sp1'), you'll need to include .'s as characters that should be indexed. This 
is not recommended, though, as it means any word at the end of a sentence won't 
match unless it ends with the . in the search query as well.
http://sphinxsearch.com/docs/manual-2.0.1.html#conf-charset-table

An alternative would be to have . in your ignore_chars list - that would mean 
that 14H13.sp1 gets indexed as 14H13sp1 instead, though.
http://sphinxsearch.com/docs/manual-2.0.1.html#conf-ignore-chars

-- 
Pat

On 07/01/2012, at 3:43 AM, Benjamin Mulaosmanovic wrote:

> When I search for a term such as 'Sp1' it also finds things such as
> '14H13.sp1'. How do I get the first value in the array returned by
> search to be 'Sp1'? I tried all the ranking modes and none of them
> affected the order of the array.
> 
> Thanks,
> 
> -- 
> 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.

Reply via email to