lucene-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Aditya Liviandi <adit...@i2r.a-star.edu.sg>
Subject RE: Developper Question - Highlighting
Date Thu, 30 Mar 2006 09:04:49 GMT
When you add the field "content" inside the document,
You can choose to have it

indexed and stored
indexed and not stored
not indexed and not stored

so in this case, you would want to add it as the indexed and stored
kind.
However it should then be evident that the size of the Directory
containing the Documents will be larger than the total size of the
parsed files, because it contains a duplicate of each of the stored (and
parsed) files as well as an index.

This might help you if your files contain substantially less searchable
text than the total file size, maybe you're indexing JPEG files, and
"content" would just be the EXIF value of the JPEG...

Anyway, this belongs to java-user@lucene.apache.org instead of the dev
list...


--------------------------------------------------- I²R Disclaimer ------------------------------
This email is confidential and may be privileged.  If you are not the intended recipient,
please delete it and notify us immediately. Please do not copy or use it for any purpose,
or disclose its contents to any other person. Thank you.
-------------------------------------------------------------------------------------------------


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


Mime
View raw message