lucene-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Maik Schreiber <blizzy-keyword-lucene_user.f54...@blizzy.de>
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   *   http://www.blizzy.de

GPG public key: http://pgp.mit.edu:11371/pks/lookup?op=get&search=0x1F11D713
Key fingerprint: CF19 AFCE 6E3D 5443 9599 18B5 5640 1F11 D713

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


Mime
View raw message