lucene-solr-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Stephen Lacy <stephen.l...@researchandmarkets.net>
Subject WordDelimiterFilter removes ampersands
Date Wed, 04 Jul 2012 13:16:53 GMT
If a user writes a query "Apples & Oranges" the word delimiter filter
factory will change this into "Apples Oranges"
Which isn't very useful for me as I'd prefer especially when the phrase is
wrapped in quotes that the original is preserved.
However I still want to be able to separate Apples&Oranges into Apples &
Oranges so preserveOriginal isn't really useful.
What I really would like to be able to do is tell WordDelimeterFilter to
treat it like it's neither alpha nor numeric, however
that doesn't mean that you remove it completely.

Thanks for your help
Stephen

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message