RE: Re-associate a token with its source

2004-04-28 Thread Olaia Vázquez Sánchez
lto:[EMAIL PROTECTED] Enviado el: martes, 27 de abril de 2004 21:46 Para: Lucene Users List Asunto: Re: Re-associate a token with its source When indexing, use UnIndexed fields to store this data in your document. org.apache.lucene.document.Field#UnIndexed(String name, String

Re: Re-associate a token with its source

2004-04-27 Thread Stephane James Vaucher
When indexing, use UnIndexed fields to store this data in your document. org.apache.lucene.document.Field#UnIndexed(String name, String value) Add the fields using: org.apache.lucene.document.Document.add(Field) After your search, you can get the field value from: Document Hits.doc(int) You ca