Hi Nicolas

Sphinx does not tell you which fields match - at least, not easily. You can 
sort by what it calls the fieldmask value, which can then be used to determine 
which field had the matching value - but then that removes the option of 
sorting by anything else.

You could also use the excerpts feature to highlight matching words (like 
Google does), but not sure if that's exactly what you're after?

As for the information Sphinx generally provides with search results - you get 
all attribute values for each document, plus the weight/relevance score for 
each, the number of results matching, error and warning information, the time 
the query took, a list of attributes and their types, and stats on each keyword 
in the search (how many documents matched, how many matches across all matching 
documents).

Hope this is helpful.

-- 
Pat

On 21/04/2012, at 1:00 AM, Nicolas Buduroi wrote:

> Hi, I would like to use Sphinx with Soulmate and I'd need to provide the 
> attribute matching the search term, is there a way to get that from the 
> results?
> 
> I also wonder what kind of meta-data Sphinx provide with the results and 
> where is it documented?
> 
> -- 
> You received this message because you are subscribed to the Google Groups 
> "Thinking Sphinx" group.
> To view this discussion on the web visit 
> https://groups.google.com/d/msg/thinking-sphinx/-/1V-uDPPl9lwJ.
> 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