lucene-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Chris Hostetter <hossman_luc...@fucit.org>
Subject Re: Storing part of the field
Date Fri, 14 Nov 2008 21:54:22 GMT

: The application which uses the index expects this in same field. So, can't use
: two fields.

be carefully about termiology here ... there are 
"org.apache.lucene.document.Field" objects, and then there are "fields" or 
"field names"

you can index a Document containing multiple "Field" objects that 
have the same name but differnet contents (one indexed, and one stored), 
and then as far as your client is concerned there is only one "Field" when 
it does the search.



-Hoss


---------------------------------------------------------------------
To unsubscribe, e-mail: java-user-unsubscribe@lucene.apache.org
For additional commands, e-mail: java-user-help@lucene.apache.org


Mime
View raw message