Hi,
Lets say I have an index with the following fields:
field1, field2, field3 and field4 where all the fields can have same values.
Now I want to search a document where "basket" and "apple" are part of the
whole document but "orange" is not.
I have tried using MultiFieldQueryParser but it is n
Hi,
Lets say I have an index with the following fields:
field1, field2, field3 and field4 where all the fields can have same values.
Now I want to search a document where "basket" and "apple" are part of the
whole document but "orange" is not.
I have tried using MultiFieldQueryParser but it is n
bunch of them.
> >
> > One would be to reverse the tokens and make your leading
> > wildcard queries into trailing ones on the reversed field.
> >
> > But without more details about what you're trying to accomplish,
> > there's not much really useful advice w
Hi All,
I have been wanting to do a wildcard search with * as a first letter on an
index.
Is there a way out except for setAllowLeadingWildcard() of QueryParser to
true? Because, i have heard it is an expensive operation.
Thanks
Aditi
h could help to retreive the
>> content later.
>>
>> Regards
>> Ganesh
>>
>> - Original Message - From: "Aditi Goyal" <[EMAIL PROTECTED]>
>> To:
>> Sent: Friday, October 03, 2008 3:03 PM
>> Subject: Re: Document larger than setRAMBuf
o me. The
> distinction is yours to draw
>
> On Fri, Oct 3, 2008 at 1:56 PM, Aditi Goyal <[EMAIL PROTECTED]>
> wrote:
>
> > Hi Everyone,
> >
> > I have an index which I am opening at one time only. I keep adding the
> > documents to it until
Hi Everyone,
I have an index which I am opening at one time only. I keep adding the
documents to it until I reach a limit of 500.
After this, I close the index and open it again. (This is done in order to
save time taken by opening and closing the index)
Also, I have set setRAMBufferSizeMB to 16MB
Hi All,
I'm running Ubuntu Linux 8.04, which has the sun jre installed in the system
area (/usr/lib/jvm/java-6-sun-1.6.0.06/jre/lib/).
I've manually installed an updated JRE (jre1.6.0_07) into /usr/local area
(/usr/local/lib/jre1.6.0_07/lib/), and my PATH environment variable is
updated to use th
On Wed, Aug 20, 2008 at 6:12 PM, Michael McCandless <[EMAIL PROTECTED]
> wrote:
>
> Aditi Goyal wrote:
>
> Thanks Mike. I found the problem.
>> The problem was that I was not converting the value of the fields to utf-8
>> and hence while adding it to doc it was
k that code looks fine, though removeField is an expensive
> operation and unnecessary for this.
>
> We really need the full traceback of the exception.
>
> Mike
>
>
> Aditi Goyal wrote:
>
> Thanks Michael and Ian for your valuable response.
>> I am attaching a smal
Thanks Michael and Ian for your valuable response.
I am attaching a small default code. Please have a look and tell me where am
I going wrong.
import lucene
from lucene import Document, Field, initVM, CLASSPATH
doc = Document()
fieldA = Field('fieldA', "", Field.Store.YES, Field.Index.UN_TOKENIZE
Hi All,
I am using IndexWriter for adding the documents. I am re-using the document
as well as the fields for improving index speed as per the link
http://wiki.apache.org/lucene-java/ImproveIndexingSpeed.
So, for each doc, i am first removing field using doc.removeField() and then
field.setValue(
at least a Jira issue opened, towards
> improving this situation, here:
>
>https://issues.apache.org/jira/browse/LUCENE-1231
>
> But it will be some time before that's available.
>
> Mike
>
>
> Aditi Goyal wrote:
>
> Hi,
>>
>> I want to modify a fi
Hi,
I want to modify a field on the current index. Can it be done?
For what I have heard that we cannot update the index . It has to be
reindexed by deleting and then indexing again.
Thanks,
Aditi
ammedali Asadullah,
>> Software Engineering & Technology Labs,
>> Infosys Technolgies Limited, Electronics City,
>> Hosur Road, Bangalore 560 100, India.
>> *Board: +91-80-28520261 | Extn: 53915 | Direct: 41173915.
>> Fax: +91-80-28520362 | Mobile: +91-984550532
n: 53915 | Direct: 41173915.
> Fax: +91-80-28520362 | Mobile: +91-9845505322.
> http://setlabs/slim/
> http://allahbaksh.blogspot.com
>
>
> -Original Message-
> From: Aditi Goyal [mailto:[EMAIL PROTECTED]
> Sent: Monday, June 23, 2008 1:24 PM
> To: java-user@lucene.apac
llahbaksh.blogspot.com
>
>
> -Original Message-
> From: Aditi Goyal [mailto:[EMAIL PROTECTED]
> Sent: Monday, June 23, 2008 12:06 PM
> To: java-user@lucene.apache.org
> Subject: Re: lucene search options
>
> Thanks a lot Daniel, I will try this option. :)
> Is ther
Thanks a lot Daniel, I will try this option. :)
Is there a way to search for not equal to query alone?
On Mon, Jun 23, 2008 at 12:03 PM, Daniel Noll <[EMAIL PROTECTED]> wrote:
> On Monday 23 June 2008 16:21:17 Aditi Goyal wrote:
> > I think wildcard (*) cannot be used i
+91-80-28520362 | Mobile: +91-9845505322.
> http://allahbaksh.blogspot.com
>
>
> -Original Message-
> From: Aditi Goyal [mailto:[EMAIL PROTECTED]
> Sent: Monday, June 23, 2008 11:51 AM
> To: java-user@lucene.apache.org
> Subject: lucene search options
>
> Hi
Hi All,
I am using Lucene for creating indexes. There is one field as "email" which
stored the email id.
I have few queries regarding searching:
1. I want to search for all the records having domain as "gmail.com" . So,
is there a way by which I can do a partial search on "email" field such that
I
20 matches
Mail list logo