On Oct 27, 2009, at 9:44 AM, <patric.wi...@rtl.de>
<patric.wi...@rtl.de> wrote:
Hey,
i found out when i use the new feature
solr.ReversedWildcardFilterFactory that the following happens:
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?
I'm pretty sure wildcard queries don't go through analysis, hence they
are probably not stemmed.
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.
--------------------------
Grant Ingersoll
http://www.lucidimagination.com/
Search the Lucene ecosystem (Lucene/Solr/Nutch/Mahout/Tika/Droids)
using Solr/Lucene:
http://www.lucidimagination.com/search