On Thu, 19 Jun 2008, Aditi Goyal wrote:

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
"[EMAIL PROTECTED]"
How can I search for it. Here, NOT cannot be used alone.

This question is much better asked at [EMAIL PROTECTED] [1], the answers you'd get for it would apply to PyLucene just as well.

Andi..

[1] http://lucene.apache.org/java/docs/mailinglists.html#Java%20User%20List
_______________________________________________
pylucene-dev mailing list
pylucene-dev@osafoundation.org
http://lists.osafoundation.org/mailman/listinfo/pylucene-dev

Reply via email to