Excerpts in matched fields only?

19 views
Skip to first unread message

Travis Pew

unread,
Sep 9, 2011, 2:36:26 PM9/9/11
to thinkin...@googlegroups.com
Is it possible to show excerpts for only the matched fields? I want to display an excerpt from a different field depending on which field the query matched in. 

Is the only option to do a search with fieldmask rank order to identify the matched fields first?

Pat Allan

unread,
Sep 10, 2011, 9:20:20 PM9/10/11
to thinkin...@googlegroups.com
Hi Travis

Yeah, Sphinx doesn't provide any intelligence with excerpts around the matching fields - fieldmask may be the way to go, if that's essential.

--
Pat

On 10/09/2011, at 4:36 AM, Travis Pew wrote:

> Is it possible to show excerpts for only the matched fields? I want to display an excerpt from a different field depending on which field the query matched in.
>
> Is the only option to do a search with fieldmask rank order to identify the matched fields first?
>

> --
> 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/-/vp2xVFtxU8wJ.
> To post to this group, send email to thinkin...@googlegroups.com.
> To unsubscribe from this group, send email to thinking-sphi...@googlegroups.com.
> For more options, visit this group at http://groups.google.com/group/thinking-sphinx?hl=en.

Reply all
Reply to author
Forward
0 new messages