May it be, that microsoft is found, because the search is not case sensitive (text) and ct is not found because there the search is case sensitive (Keyword)

Did you try
+state:CT +company:"microsoft"~10

-----Ursprüngliche Nachricht-----
Von: Alain Lauzon
Gesendet: Freitag, 28. Februar 2003 05:10
An: Lucene Users List
Betreff: How is that possible ?

I am running nuts here. I am doing a very simple search that
is supposed
to find me one hit but none is found. This thing works with others
queries, but with some like this one I can't understand. I
even tried to
clean my whole index and add only those two documents.

So if I am looking for companies with the name microsoft in it I find
2. And if I look for companies with microsoft in the name in
the state of
CT it is supposed to find 1, right ? It finds none !!!!!!!

Any clue on that one ?

I am using my own analyzer that is a standard analyzer less a
couple stop

Searching for: +company:"microsoft"~10
2 total matching documents

2 total matching documents in 190 ms.

doc(0)=Document<Text<companySicDescription:COMPUTER SOFTWARE>
Keyword<companySicCode:573401> Text<company:MICROSOFT CORP> Keyword<co
mpanyId:50561229> Keyword<tel:860-678-3100> Text<city:FARMINGTON>
Keyword<state:CT> Keyword<country:USA> Unindexed<address:74 BATTER
SON PARK RD> Unindexed<email:>
Unindexed<zip:06032-2565> Keyword<typePackage:3>>

doc(1)=Document<Keyword<typePackage:3> Unindexed<zip:85012-2727>
Unindexed<www:http://WWW.MICROSOFT.COM> Unindexed<email:> Unindexed
<address:2929 N CENTRAL AVE> Keyword<country:USA> Keyword<state:AZ>
Text<city:PHOENIX> Keyword<tel:602-266-0302> Keyword<companyId:5
0565446> Text<company:MICROSOFT CORP> Keyword<companySicCode:573401>
Text<companySicDescription:COMPUTER SOFTWARE>>

Searching for: +state:ct +company:"microsoft"~10
0 total matching documents

0 total matching documents in 30 ms.

Thanks for any advice, Alain Lauzon
To unsubscribe, e-mail: lucene-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: lucene-user-help@jakarta.apache.org

Search Discussions

Discussion Posts

Follow ups

Related Discussions

Discussion Navigation
viewthread | post
posts ‹ prev | 1 of 3 | next ›
Discussion Overview
groupjava-user @
postedFeb 28, '03 at 6:17a
activeFeb 28, '03 at 2:48p



site design / logo © 2022 Grokbase