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 Mon, 13 Apr 2009 07:57:49 GMT
qv, above. Chop up your document into sub-documents (i.e. Lucene
documents) in your favorite way, shape or form and it should work..
hth


On Sun, Apr 12, 2009 at 2:08 PM, Michael Chan <dayzman@gmail.com> wrote:
> 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
>>
>>
>

---------------------------------------------------------------------
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