lucene-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Michael Chan <dayz...@gmail.com>
Subject Re: Searching a single file
Date Sun, 12 Apr 2009 18:08:59 GMT
I have been trying to use grep, but my file is way too big (~300gb). Could
Lucene search through it more efficiently than grep?

Thanks,

Michael

On Sun, Apr 12, 2009 at 7:53 PM, Shashi Kant <shashi.mit@gmail.com> wrote:

> 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
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message