At 07:16 2003-02-28 +0100, you wrote:
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
^^
?
I don't thnik so because the StandardAnalyzer will put everything in
lowercase. I will try without the StandardAnalyzer.
Marcus
-Ursprüngliche Nachricht-
Von: Alain Lauzon [mailto:[EMAIL PROTECTED]
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
words.
Searching for: +company:microsoft~10
2 total matching documents
2 total matching documents in 190 ms.
score(0)=0.4220032
doc(0)=DocumentTextcompanySicDescription:COMPUTER SOFTWARE
KeywordcompanySicCode:573401 Textcompany:MICROSOFT CORP Keywordco
mpanyId:50561229 Keywordtel:860-678-3100 Textcity:FARMINGTON
Keywordstate:CT Keywordcountry:USA Unindexedaddress:74 BATTER
SON PARK RD Unindexedemail:
Unindexedwww:http://WWW.MICROSOFT.COM/NEWENGLAND/
Unindexedzip:06032-2565 KeywordtypePackage:3
score(1)=0.4220032
doc(1)=DocumentKeywordtypePackage:3 Unindexedzip:85012-2727
Unindexedwww:http://WWW.MICROSOFT.COM Unindexedemail: Unindexed
address:2929 N CENTRAL AVE Keywordcountry:USA Keywordstate:AZ
Textcity:PHOENIX Keywordtel:602-266-0302 KeywordcompanyId:5
0565446 Textcompany:MICROSOFT CORP KeywordcompanySicCode:573401
TextcompanySicDescription: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: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]