lucene-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Shashi Kant <shashi....@gmail.com>
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.

HTH,
Shashi

On Sun, Apr 12, 2009 at 1:51 PM,  <dayzman@gmail.com> 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: java-user-unsubscribe@lucene.apache.org
For additional commands, e-mail: java-user-help@lucene.apache.org


Mime
View raw message