lucene-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Shashi Kant <>
Subject Re: Searching a single file
Date Sun, 12 Apr 2009 17:53:56 GMT
Not sure what the business-case for this is and why you cannot use
RegEx for this. But you could consider chopping up the document into
(sub) documents and adding them to the Lucene index. For example, chop
by paragraph or line-break.


On Sun, Apr 12, 2009 at 1:51 PM,  <> wrote:
> Hi,
> Can Lucene be used to return all matches of a query (perhaps using regex) in
> a single document? If so, is it just as efficient if it was to match
> multiple documents? How can that be done?
> Thanks
> Michael

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

View raw message