lucene-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "John Wang" <john.w...@gmail.com>
Subject Re: user index sigature
Date Tue, 25 Sep 2007 23:51:38 GMT
cool, thanks!

On 9/25/07, Erick Erickson <erickerickson@gmail.com> wrote:
>
> Sure, just index a *very special* document with one field that is
> shared by no other documents in your index. Put your
> custom signature in there.
>
> You can even get it very efficiently with TermEnum if you
> don't want to search for it, but searching would also be very
> fast. Put, say, two fields in the doc. "field_version" and "value".
> Always set the *field* field_version to the string "version". Now, search
> for field_version:version, get the one and only resulting doc
> and get it's value field.
>
> Best
> Erick
>
> On 9/25/07, John Wang <john.wang@gmail.com> wrote:
> >
> > Hi:
> >
> >    Is there a way to added custom signature data to a lucene index,
> e.gdata
> > version etc?
> >
> > Thanks
> >
> > -John
> >
>

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