Reputation
Top tag
Next privilege 125 Rep.
Vote down
Badges
1
Newest
 Student
Impact
~186 people reached

  • 0 posts edited
  • 0 helpful flags
  • 0 votes cast
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