You must catenateWord on index-time as well.
> I tried setting catenateWords="1" on the Query analyzer and that didn't do
> anything. I think what I need is to set my Index Analyzer to have
> preserveOriginal="1" and then re-index everything. That will be a pain, so
> I'll do a small test to make
;m going to try the preserveOriginal parameter on
WordDelimiterFilterFactory, on both the Index and Query side and see what
happens.
Thanks for all the suggestions,
Ken
--
View this message in context:
http://lucene.472066.n3.nabble.com/Compound-word-search-not-what-I-expected-tp3036089p3037068.html
Sent from the Solr - User mailing list archive at Nabble.com.
see
http://wiki.apache.org/solr/AnalyzersTokenizersTokenFilters#solr.WordDelimiterFilterFactory
from the wiki
Example of generateWordParts="1" and catenateWords="1":
"PowerShot" -> 0:"Power", 1:"Shot" 1:"PowerShot"
(where 0,1,1 are token positions)
"A's+B's&C's" -> 0:"A", 1:"B", 2:"C", 2:"ABC"
"S
xt"/>
>
>
> Is the order by the filters important? If LowerCaseFilterFactory came before
> WordDelimiterFilterFactory, would that fix this? Would it break something
> else?
>
> Thanks,
> Ken
>
> --
> View this message in context:
> http://lucene.472066.n3.nabble.com/Compound-word-search-not-what-I-expected-tp3036089p3036089.html
> Sent from the Solr - User mailing list archive at Nabble.com.
>
catenateWords should be set to true. Same goes for the index analyzer.
preserveOriginal would also work.
> I have a field defined as:
> termVectors="true" multiValued="true" />
> where "text" is unmodified from the schema.xml example that came with Solr
> 1.4.1.
>
> I have documents with so
d it break something
else?
Thanks,
Ken
--
View this message in context:
http://lucene.472066.n3.nabble.com/Compound-word-search-not-what-I-expected-tp3036089p3036089.html
Sent from the Solr - User mailing list archive at Nabble.com.