lucene-solr-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Erick Erickson <erickerick...@gmail.com>
Subject Re: Problem with searching with first capital letter
Date Thu, 03 Dec 2009 16:30:31 GMT
http://wiki.apache.org/solr/AnalyzersTokenizersTokenFilters

<http://wiki.apache.org/solr/AnalyzersTokenizersTokenFilters>"On wildcard
and fuzzy searches, no text analysis is performed on the search word."

HTH
Erick

On Thu, Dec 3, 2009 at 10:19 AM, Yurish <yurishzz@inbox.lv> wrote:

>
> I have a problem with SOLR searching. When i`am searching query: dog*
> everything is ok, but when query is Dog*(with first capital letter), i get
> no results. Any advice? My config:
>
> <fieldType name="text" class="solr.TextField" positionIncrementGap="100">
>  <analyzer type="index">
>    <tokenizer class="solr.WhitespaceTokenizerFactory"/>
>    <filter class="solr.StopFilterFactory" ignoreCase="true"
> words="stopwords.txt"/>
>    <filter class="solr.WordDelimiterFilterFactory" generateWordParts="1"
> generateNumberParts="1" catenateWords="1" catenateNumbers="1"
> catenateAll="0" splitOnCaseChange="0"/>
>    <filter class="solr.LowerCaseFilterFactory"/>
>    <filter class="solr.RemoveDuplicatesTokenFilterFactory"/>
>  </analyzer>
>  <analyzer type="query">
>    <tokenizer class="solr.WhitespaceTokenizerFactory"/>
>    <filter class="solr.SynonymFilterFactory" synonyms="synonyms.txt"
> ignoreCase="true" expand="true"/>
>    <filter class="solr.StopFilterFactory" ignoreCase="true"
> words="stopwords.txt"/>
>    <filter class="solr.WordDelimiterFilterFactory"  generateWordParts="1"
> generateNumberParts="1" catenateWords="0" catenateNumbers="0"
> catenateAll="0" splitOnCaseChange="0"/>
>    <filter class="solr.LowerCaseFilterFactory"/>
>    <filter class="solr.RemoveDuplicatesTokenFilterFactory"/>
>  </analyzer>
> </fieldType>
>
> --
> View this message in context:
> http://old.nabble.com/Problem-with-searching-with-first-capital-letter-tp26627677p26627677.html
> Sent from the Solr - User mailing list archive at Nabble.com.
>
>

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message