Hi Erick, that is what i did, tried that input on analysis page.
The index field splitting the value into two words: „test“ and „or123" Now checking the query at analysis page, and there are the word ist splitting into „test“ and „or123“. By doing the query and look into the debug result, i see that there is no splitting of words. Thats what i expect… <str name="rawquerystring">searchField_t:test\-or123*</str> <str name="querystring">searchField_t:test\-or123*</str> <str name="parsedquery">searchField_t:test-or123*</str> <str name="parsedquery_toString">searchField_t:test-or123*</str> Without the wildcard, the word is splitting also in two parts: <str name="rawquerystring">searchField_t:test\-or123</str> <str name="querystring">searchField_t:test\-or123</str> <str name="parsedquery">searchField_t:test searchField_t:or123</str> <str name="parsedquery_toString">searchField_t:test searchField_t:or123</str> Any idea which configuration has the responsibility for that behavior? Thanks! Am 23.06.2014 um 22:55 schrieb Erick Erickson <erickerick...@gmail.com>: > Well, you can do more than guess by looking at the admin/analysis page > and trying your input on the field in question. That'll show you what > actual transformations are performed. > > You're probably right though. Try adding &debug=query to your URL to > see what the actual parsed query looks like and compare with the > admin/analysis page.... > > But yeah, it's a matter of getting all the parts (query parser and > analysis chains) to "do the right thing". > > Best, > Erick > > On Mon, Jun 23, 2014 at 7:30 AM, Sven Schönfeldt > <schoenfe...@subshell.com> wrote: >> Hi Solr-Users, >> >> i am trying to do a wildcard query on a dynamic textfield (_t), but don’t >> get the right result. >> The configuration for the field type is „text_general“, the default >> configuration: >> >> <fieldType name="text_general" class="solr.TextField" >> positionIncrementGap="100"> >> <analyzer type="index"> >> <tokenizer class="solr.StandardTokenizerFactory"/> >> <filter class="solr.StopFilterFactory" ignoreCase="true" >> words="stopwords.txt" enablePositionIncrements="true" /> >> <filter class="solr.LowerCaseFilterFactory"/> >> </analyzer> >> <analyzer type="query"> >> <tokenizer class="solr.StandardTokenizerFactory"/> >> <filter class="solr.StopFilterFactory" ignoreCase="true" >> words="stopwords.txt" enablePositionIncrements="true" /> >> <filter class="solr.SynonymFilterFactory" synonyms="synonyms.txt" >> ignoreCase="true" expand="true"/> >> <filter class="solr.LowerCaseFilterFactory"/> >> </analyzer> >> </fieldType> >> >> >> Input for the textfield is "test-or123" and my query looks like "test\-or*“. >> >> It seems that the input is allready split into two words: „test“ and >> „or123“, but that's just a guess. >> >> Anyone who can help me, and know why i don’t find the document and whats >> todo to make the quert working? >> >> Regards! >> >> >>