lucene-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "jian chen" <chenjian1...@gmail.com>
Subject Re: How To find which field has the search term in Hit?
Date Mon, 29 May 2006 17:16:12 GMT
Hi, Noon,

Sorry I did not initially understand the detailed problem you have.

This sounds like a prefix match problem. You can create index for each field
and then do a prefix mach for these fields.

By the way, I think you question could be better served by posting to the
lucene user group.

Cheers,

Jian

On 5/29/06, N <noooon99@yahoo.com> wrote:
>
> Thanks for the reply but I couldnt get your point..Could you elaborate it
> further?
> Fopr instance we have
>
> FirstName (= Martin ), LastName (= Spaniol), Company (= Mark Co.) and we
> search for the "Mar*" which will be found in FirstName and Company ..so how
> can I retrieve this info that it is found in only FirstName and Company
> fields.
>
> Best
> Noon.
>
> jian chen <chenjian1227@gmail.com> wrote: You can store the field values
> and then, load the field values to do a
> real-time comparision. Simple solution...
>
> Jian
>
> On 5/24/06, N  wrote:
> >
> > Hi
> >
> > I am searching on multiple fields. Is it possible to retrieve the field
> > (s) which contains the search terms from the documents returned as Hits.
> >
> > Best
> > Noon
> >
> >
> > ---------------------------------
> > Sneak preview the  all-new Yahoo.com. It's not radically different. Just
> > radically better.
> >
>
>
>
> ---------------------------------
> Blab-away for as little as 1ยข/min. Make  PC-to-Phone Calls using Yahoo!
> Messenger with Voice.
>

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