What does it say happens on your admin/analysis page
for that field?

And did you by any chance change your schema without
reindexing everything?

Also, try the TermsComonent to see what tokens are actually
_in_ your index. Schema-browser from the admin page can
help here too.

Best,
Erick


On Tue, Feb 25, 2014 at 12:05 PM, Ahmet Arslan <iori...@yahoo.com> wrote:

> Hi Kashish,
>
>
> What happens when you use this q={!prefix f=title_autocomplete}1999/99
>
> I suspect '/' character is a special query parser character therefore it
> needs to be escaped.
>
> Ahmet
>
>
> On Tuesday, February 25, 2014 9:55 PM, Kashish <itzz.me.kash...@gmail.com>
> wrote:
> Hi,
>
> I have a very weird problem. The wild card search works fine for all
> scenarios but one. It doesn't seem to give any result for query 1999/99*. I
> checked the debug query and its formed perfect.
>
> <str name="rawquerystring">title_autocomplete:1999/99*</str>
> <str name="querystring">title_autocomplete:1999/99*</str>
> <str name="parsedquery">(+title_autocomplete:1999/99* ())/no_coord</str>
> <str name="parsedquery_toString">+title_autocomplete:1999/99* ()</str>
>
> This is my fieldType
>
> <fieldType name="text_general_Title" class="solr.TextField"
> positionIncrementGap="100">
>       <analyzer type="index">
>         <tokenizer class="solr.WhitespaceTokenizerFactory"/>
>         <filter class="solr.StopFilterFactory" ignoreCase="true"
> words="stopwords.txt" enablePositionIncrements="true" />
>
>         <filter class="solr.LowerCaseFilterFactory"/>
>       </analyzer>
>       <analyzer type="query">
>         <tokenizer class="solr.WhitespaceTokenizerFactory"/>
>         <filter class="solr.StopFilterFactory" ignoreCase="true"
> words="stopwords.txt" enablePositionIncrements="true" />
>
>
>         <filter class="solr.LowerCaseFilterFactory"/>
>       </analyzer>
>     </fieldType>
>
> Please help we with this.
>
> Thanks.
>
>
>
> --
> View this message in context:
> http://lucene.472066.n3.nabble.com/Wildcard-search-not-working-if-the-query-conatins-numbers-along-with-special-characters-tp4119608.html
> Sent from the Solr - User mailing list archive at Nabble.com.
>
>

Reply via email to