lucene-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Allahbaksh Mohammedali Asadullah <Allahbaksh_Asadul...@infosys.com>
Subject RE: lucene search options
Date Mon, 23 Jun 2008 06:32:55 GMT
Usually if you negate the keyword then that document will be skipped. So what else you want
to search. Design of fields is very important.
Warm Regards,
Allahbaksh

Allahbaksh Mohammedali 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-9845505322.
http://setlabs/slim/
http://allahbaksh.blogspot.com


-----Original Message-----
From: Aditi Goyal [mailto:aditigupta20@gmail.com]
Sent: Monday, June 23, 2008 12:01 PM
To: java-user@lucene.apache.org
Subject: Re: lucene search options

Thanks Allahbaksh, But this was just an example. I want to search for lot
more fields like this.


On Mon, Jun 23, 2008 at 11:55 AM, Allahbaksh Mohammedali Asadullah <
Allahbaksh_Asadullah@infosys.com> wrote:

> One way of doing it is while parsing email if it has .gmail.com add it to
> different field also.
> Warm Regards,
> Allahbaksh
> Allahbaksh Mohammedali 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-9845505322.
> http://allahbaksh.blogspot.com
>
>
> -----Original Message-----
> From: Aditi Goyal [mailto:aditigupta20@gmail.com]
> Sent: Monday, June 23, 2008 11:51 AM
> To: java-user@lucene.apache.org
> Subject: lucene search options
>
> 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 get the records matching only the domain name.
> I think wildcard (*) cannot be used in the beginning :(
>
> 2. If I just want to search for the records which are not matching email as
> "abc@xyz.com"
> How can I search for it. Here, MUST_NOT cannot be used alone. Is there a
> way
> out?
>
>
> Please help.
>
> Thanks,
> Aditi
>
> **************** CAUTION - Disclaimer *****************
> This e-mail contains PRIVILEGED AND CONFIDENTIAL INFORMATION intended
> solely
> for the use of the addressee(s). If you are not the intended recipient,
> please
> notify the sender by e-mail and delete the original message. Further, you
> are not
> to copy, disclose, or distribute this e-mail or its contents to any other
> person and
> any such actions are unlawful. This e-mail may contain viruses. Infosys has
> taken
> every reasonable precaution to minimize this risk, but is not liable for
> any damage
> you may sustain as a result of any virus in this e-mail. You should carry
> out your
> own virus checks before opening the e-mail or attachment. Infosys reserves
> the
> right to monitor and review the content of all messages sent to or from
> this e-mail
> address. Messages sent to or from this e-mail address may be stored on the
> Infosys e-mail system.
> ***INFOSYS******** End of Disclaimer ********INFOSYS***
>
> ---------------------------------------------------------------------
> 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