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....@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, <dayz...@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-unsubscr...@lucene.apache.org > For additional commands, e-mail: java-user-h...@lucene.apache.org > >