> Thanks to both of you for the quick > answers, > > analysis.jsp shows that the WordDelimiterFilterFactory is > performing the > split > > I was experimenting around with the delimiters for the last > two days but am > still unable to obtain the desired result. > > I tried entirely kicking solr.WordDelimiterFilterFactory > from both "query" > and "text" resulting in effictively crippling the search, I > got nearly no > results for anything. Removing it only from "query" > also would not show up > the target document. > > > The target document looks like this: > .... > "bla /asdf5qwertz500ddd" > .... > > Searching for "/asdf5qwertz" (also with tailing wildcard, > with or without > the leading slash) wont show up the document. It also wont > get highlighted > in the analysis.jsp > > I tried setting splitOnNumerics to 0 (no change) as well as > changing > generateNumberParts to 0 - the query is still being split > at the number. > > Any suggestions?
After removing WordDelimiterFilterFactory from both index and query analyzer, the prefix query asdf5qwertz* should hit your target example document. I am assuming that you are using standardtokenizerfactory. Did you re-start tomcat and re-index your collection? analysis.jsp do not parse and run query, it just shows analysis steps and their outputs. Do you want to search inside alpanumeric strings? Or you are interested only prefix queries. Can you give us more examples like target documents and queries.