106 reputation
1
bio website
location
age
visits member for 3 years, 1 month
seen Jan 24 at 8:32

Nov
14
comment Fast, line-wise full text search for Unix directory structure
The demo only adds one file, but yes, it stores each line as a separate document using the loop at the comment "pull the data from our list and add it to the index" in SimpleLucene.java. Since they don't do updates, this is not a problem.
Nov
14
comment Fast, line-wise full text search for Unix directory structure
The only way to make Lucene return line numbers is by storing each line in a separate document. This, however, makes updating a document hard (and it is probably impossible to make updates fast).
Nov
11
awarded  Student
Nov
11
asked Fast, line-wise full text search for Unix directory structure