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?

Bernd



On Sun, Jan 3, 2010 at 6:27 PM, Erick Erickson <erickerick...@gmail.com>wrote:

> This is an *extremely* useful page for figuring out what various
> tokenizers/filters are doing. The javadocs for the classes
> referenced can also provide some additional details....
>
> http://wiki.apache.org/solr/AnalyzersTokenizersTokenFilters
>
> Erick
>
> On Sun, Jan 3, 2010 at 11:26 AM, Bernd Brod <bernd.b...@gmail.com> wrote:
>
> > Hello,
> >
> > when searching for a string: "asdf5qwerty" solr will tokenize it to:
> > "asdf", "5", "qwerty" and display documents matching either string.
> >
> > How can i stop this behaviour and make it just search for plain
> > "asdf5qwerty"?
> >
> > thanks in advance.
> > Bernd
> >
>

Reply via email to