easy.angel
2010-07-01 14:41:03 UTC
Hello,
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 Mustermann in the query results. But if I will search:
hans*
I recieve no results! However query without wildcard will return correct
results.
How can I configure solr to return Hans Mustermann for query: hans* ?
I add this wildcard dynamically (during query), so I want to have it in
every query.
Thanks in advance,
Oleg
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 Mustermann in the query results. But if I will search:
hans*
I recieve no results! However query without wildcard will return correct
results.
How can I configure solr to return Hans Mustermann for query: hans* ?
I add this wildcard dynamically (during query), so I want to have it in
every query.
Thanks in advance,
Oleg
--
View this message in context: http://lucene.472066.n3.nabble.com/How-to-force-wildcard-query-not-to-ignore-word-endings-tp936322p936322.html
Sent from the Solr - User mailing list archive at Nabble.com.
View this message in context: http://lucene.472066.n3.nabble.com/How-to-force-wildcard-query-not-to-ignore-word-endings-tp936322p936322.html
Sent from the Solr - User mailing list archive at Nabble.com.