lucene-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Erick Erickson <erickerick...@gmail.com>
Subject Re: How to know the matched field?
Date Sun, 22 Mar 2009 21:22:18 GMT
Try searching the mail archives, the searchable archive is linked to
off the Wiki. This topic has been discussed multiple times but I forget
the solutions...

Best
Erick

On Sun, Mar 22, 2009 at 4:30 PM, Paul Libbrecht <paul@activemath.org> wrote:

>
> Hello list,
>
> in an auto-completion task, I would like to show to the user the field
> that's been matched against the query in the found document.
>
> Typically, my documents have multiple fields for each field-name and I
> would like the index's findings to give me the field used. How can I do
> that?
>
> It seems to me a task of the highlighter (or of the QueryScorer?) but I am
> actually not interested into extracting the fragment found just to know the
> exact field found.
>
> thanks in advance
>
> paul

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message