Re: docValue vs. analyzer

2018-04-26 Thread Uwe Reh
Hi Erick, Thank your for the hint about SortableTextField. This seems to be really the type I was looking for. UpdateProcesors could be a workaround, but I don't like them. For me they are neither fish nor fowl. (neither internal nor external) Uwe Am 19.04.2018 um 18:38 schrieb Erick Eri

Re: docValue vs. analyzer

2018-04-19 Thread Erick Erickson
I haven't poked into the details, but (recently, very recently, 7.3) theres a SortableTextField that may be useful in this situation. Otherwise you could use a FieldMutatingUpdateProcessorFactory or perhaps a ScriptUpdateProcessor to manipulate the fields on the way in. Not quite sure how you could

docValue vs. analyzer

2018-04-19 Thread Uwe Reh
Hi, I'm stuck in a dead end. My task is to map individual ids, to group them. So far, so simple: * copyfield 'id' -> 'groupId' * use a SynonymFilter on 'groupId' Now, I had the idea to improve the performance of grouping with 'docValues'. Unfortunately, this leads to a contradiction: * docVal