lucene-solr-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Chris Hostetter <hossman_luc...@fucit.org>
Subject Re: Wildcard on first char, Possible Bug 1.4?
Date Tue, 27 Oct 2009 20:11:47 GMT
: i found out when i use the new feature solr.ReversedWildcardFilterFactory that the following
happens:

Hmmm.... in spite of ReversedWildcardFilterFactory being somethng designed 
to be used as part of the analysis chain for a fields *so* you can do 
leading wildcard queries on them, it doesn't change the fact that wild 
card queries are not analyzed at query time...

http://wiki.apache.org/lucene-java/LuceneFAQ#Are_Wildcard.2C_Prefix.2C_and_Fuzzy_queries_case_sensitive.3F

...so any stemmers you have configured won't be used.

(It seems like we need some major caveat documentation about this in the 
example schema and on the wiki)

: I query for thomas.
: 
: <str name="rawquerystring">nickname:thomas</str>
: <str name="querystring">nickname:thomas</str>
: <str name="parsedquery">nickname:thoma</str>
: <str name="parsedquery_toString">nickname:thoma</str>
: 
: We see the parsed String ist thoma.
: 
: I query for *thomas
: 
: <str name="rawquerystring">nickname:*thomas</str>
: <str name="querystring">nickname:*thomas</str>
: <str name="parsedquery">nickname:#1;samoht*</str>
: <str name="parsedquery_toString">nickname:#1;samoht*</str>
: 
: the parsed String is samoht*  -> thoams* other way arround. The the ending s wont be
trimmed. But when i query *thoma anything will be ok. Any suggestions?
: 
: Kind regards,
: Patric
: 
: 
: Die Information in dieser E-Mail ist vertraulich und exklusiv fuer den Adressatenkreis bestimmt.
Unbefugte Empfaenger haben kein Recht, vom Inhalt Kenntnis zu nehmen, fehlgeleitete E-mails
sind sofort zu loeschen. Weiterleiten oder Kopieren darf, auch auszugsweise nur mit ausdruecklicher,
schriftlicher Einwilligung des Absenders erfolgen. In jedem Fall ist sicherzustellen, dass
keinerlei inhaltliche Veraenderungen erfolgen. Der Absender ist von der Richtigkeit des Inhalts
und der Uebertragung dieser E-Mail ueberzeugt. Eine Haftung dafuer ist jedoch ausgeschlossen.

: 
: This is a confidential communication intended only for the named adresses. If you received
this communication in error, please notify us and return and delete it without reading it.
This e-mail may not be disclosed, copied or distributed in any form without the obtained permission
in writing of the sender. In any case it may not be altered or otherwise changed. Whilst the
sender believes that the information is correct at the date of the e-mail, no warranty and
representation is given to this effect and no responsibility can be accepted by the sender.
: 
: 



-Hoss


Mime
View raw message