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 in the beginning :(
>
> Wron
Hi Daniel,
You are right earlier the wild card character were not supported but now they
are supported.
Regards,
Allahbaksh
Allahbaksh Mohammedali Asadullah,
Software Engineering & Technology Labs,
Infosys Technolgies Limited, Electronics City,
Hosur Road, Bangalore 560 100, India.
*Board: +91-8
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,
On Monday 23 June 2008 16:21:17 Aditi Goyal wrote:
> I think wildcard (*) cannot be used in the beginning :(
Wrong:
http://lucene.apache.org/java/2_3_0/api/core/org/apache/lucene/queryParser/QueryParser.html#setAllowLeadingWildcard(boolean)
Daniel
---
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 <
[EMAIL PROTECTED]> wrote:
> One way of doing it is while parsing email if it has .gmail.com add it to
> different field also.
> Wa
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-285
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
On Saturday 21 June 2008 18:57:49 Sebastin wrote:
> Since i am maintaining more than 1.5 years records in the windows 2003
> server,based on the user input for example if the user wants to display
> june 1 - june 15 folders and fetch the records from them.if the user wants
> to display may 1-may15
Ah great that was the kind of stuff I was looking for.
Right now I have < 1000 results, so it won't kill me to use hits. I will
look into Hit Collection for my next release to fix that...
Erick Erickson wrote:
>
> Watch out though. By "hit' I assume you mean a Hits object. Iterating
> over
Watch out though. By "hit' I assume you mean a Hits object. Iterating
over a large result set with a Hits object can be very inefficient because
the query re-executes every 100 or so. Think about a HitCollector
instead.
Best
Erick.
On Sun, Jun 22, 2008 at 2:59 PM, Dr. Fish <[EMAIL PROTECTED]> w
Ah I think I got it
hit.getDocument().getField("CityID").stringValue() seems to be what I wanted
Thanks!
Dr. Fish wrote:
>
> I tried this first, and I was having trouble iterating over them.
>
>
> If I do something like this
>
> hit.getDocument().getField("CountryID").toString()
>
> I
I tried this first, and I was having trouble iterating over them.
If I do something like this
hit.getDocument().getField("CountryID").toString()
I get a big long BS object.. not just the result of my search.
I also tried messing with the tokenStreamValue(), and had the same result.
How do I
Hi Dr. Fish,
You could make just a single query with the broadest query possible - e.g.
bacon AND country:"united states"
and then iterate over all results, dividing them into your three buckets based
on the values of the other two fields.
Steve
On 06/22/2008 at 12:29 PM, Dr. Fish wrote:
>
Hi,
I currently am using Lucene to index documents. I index 4 fields, the body
of the document, the city it is related to, the state it is related to, and
the country it is related to.
I have a java web application where the user types in some search text.. and
it searches the body of the docume
14 matches
Mail list logo