Re: international characters in facet.prefix

2017-06-09 Thread arik
Thanks for the guidance. I have a reasonable "middle ground" blend of client-side and server side tweaks working now. In solr I copied my field into a duplicate field sans folding filters, so that I essentially have "myfield_raw" and "myfield_analyzed". Then on the client side include both these

Re: international characters in facet.prefix

2017-06-07 Thread Stefan Matheis
If you don't mind, my question is what're trying to do in the first place? And please don't describe it with the technical approach you're already using (or at least trying to) but rather in basic/business terms. -Stefan On Jun 8, 2017 3:03 AM, "arik" wrote: > Thanks Erick, indeed your hunch i

Re: international characters in facet.prefix

2017-06-07 Thread Erick Erickson
If you require that the facets show both the folded and non-folded versions, then you have no choice except to index both somehow. But I think you're saying that you expect "néd" and "ned" to be counted in one bucket. Then, indeed, you have to somehow pre-apply the relevant filters. You can do tha

Re: international characters in facet.prefix

2017-06-07 Thread arik
Thanks Erick, indeed your hunch is correct, it's the analyzing filters that facet.prefix seems to bypass, and getting rid of my ASCIIFoldingFilterFactory and MappingCharFilterFactory make it work ok. The problem is I need those filters... otherwise how should I create facets which match against bo

Re: international characters in facet.prefix

2017-06-07 Thread Erick Erickson
I'll bet your field definition has one of the folding filters in it. I'm pretty sure that the facet.prefix parameter doesn't send the value through your analysis chain, it uses it "as is". So my guess (without looking at the code) is that the facet.prefix value franç is not _in_ your index, rather