Groups
Groups
Sign in
Groups
Groups
Thinking Sphinx
Conversations
About
Send feedback
Help
Knowing which fields match ?
3 views
Skip to first unread message
sarcos
unread,
Nov 18, 2009, 2:43:34 PM
11/18/09
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to Thinking Sphinx
Hello,
is there a way to know which fields is hit by the search query ?
I would like to output something like :
"You search query matched the login_name"
where "login_name" is a indexed field
TIA
Pat Allan
unread,
Nov 18, 2009, 7:09:44 PM
11/18/09
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to thinkin...@googlegroups.com
There's only one way, as far as I know, and that's to use the
fieldmask ranking mode:
http://freelancing-god.github.com/ts/en/searching.html#ranking
(final ranking option listed)
Mind you, this doesn't work when you have more than 32 fields, and not
sure if it'd be reliable for multi-model searching either.
--
Pat
> --
>
> You received this message because you are subscribed to the Google
> Groups "Thinking Sphinx" group.
> To post to this group, send email to
thinkin...@googlegroups.com
.
> For more options, visit this group at
http://groups.google.com/group/thinking-sphinx?hl=
> .
>
>
sarcos
unread,
Nov 18, 2009, 8:46:33 PM
11/18/09
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to Thinking Sphinx
thanx for quick answer, I am trying that and will be posting progress
here.
Reply all
Reply to author
Forward
0 new messages