lucene-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Eyal Post <>
Subject Adding line count to a document
Date Wed, 01 Mar 2006 06:23:45 GMT
I'd like to add a line count field to my indexed document. The obvious way
is to read my file twice, once to tokenize it and add it's content to a
field in the document and once to count the number of lines in it and add it
to another field. 
Any idea how can I optimize this and read the file once? 


To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message