lucene-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Maik Schreiber <>
Subject Re: Can Lucene do this?
Date Mon, 26 Sep 2005 06:22:03 GMT
> Can I use lucene to index this document only, and display blocks of
> information if I need it? Like if I type in this query, "cook rice" I should
> get the "To Cook rice:" statement and block...

Just break your original document into multiple documents by splitting on 
empty lines, and add those documents with a "text" field into a Lucene index.

Maik Schreiber   *

GPG public key:
Key fingerprint: CF19 AFCE 6E3D 5443 9599 18B5 5640 1F11 D713

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

View raw message