Re: How to force wildcard query not to ignore word endings

2010-07-02 Thread easy.angel
Thanks! I tested it and it works perfectly. > However remember that wildcard, prefix searches (*) are not analyzed. > For example HAN* won't return anything. I making query lowercasing also dynamically, so it's not a problem for me. -- View this message in context: http://lucene.472066.n3.n

Re: How to force wildcard query not to ignore word endings

2010-07-01 Thread Ahmet Arslan
> I will try to remove SnowballPorterFilterFactory (is it > right?) and then restart solr + reindex Exactly. This will solve your problem. However remember that wildcard, prefix searches (*) are not analyzed. For example HAN* won't return anything.

Re: How to force wildcard query not to ignore word endings

2010-07-01 Thread easy.angel
I have standard configuration for the text field type: I will try to

Re: How to force wildcard query not to ignore word endings

2010-07-01 Thread Ahmet Arslan
> I'm not sure weather it can be solved in solr > configuration itself > (for example with query analyzer for the text field, or > with index > analyzer). Do you have StemFilterFactory in your field type? Remove it from query analyzer for the text field. Re-start core + re-index.

Re: How to force wildcard query not to ignore word endings

2010-07-01 Thread easy.angel
Thank you very match for you help and fast answer! i always add wildcard because I use solr in autocomplete. So as you type your query you can see temporary results. I also found that adding wild card returns better temporary results. At least it was easiest solution in some cases. I'm not sure w

Re: How to force wildcard query not to ignore word endings

2010-07-01 Thread Ahmet Arslan
> I have one problem with querying solr. I indexed person > with 2 fields: > > * firstname - Hans > * lastname - Mustermann > > and I have copy field 'text' where these fields are copied. > 'text' field is > used during query. > > Now, when I search: > > han* > > I do have Hans Musterma