Percolation stemming

Can you setup stemming when using the percolation function? I am not
indexing documents, just passing them through percolation to trigger
alerts. Do I need to index documents to do this? Mainly concerned with
singular/pluralization. Thanks.

--
You received this message because you are subscribed to the Google Groups "elasticsearch" group.
To unsubscribe from this group and stop receiving emails from it, send an email to elasticsearch+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.

On Tue, 2013-02-12 at 16:20 -0800, Jon Ryan wrote:

Can you setup stemming when using the percolation function?

Yes

I am not indexing documents, just passing them through percolation to
trigger alerts. Do I need to index documents to do this?

No, you can use the percolate API with just the data

but you need to have a mapping set up for the type of doc you want to
check, so that the analysis of each field happens correctly.

You'll notice that the percolate API accepts an index and a type.

you would add your stemming analyzer to the index, and the field
definition to the mapping for that type.

clint

--
You received this message because you are subscribed to the Google Groups "elasticsearch" group.
To unsubscribe from this group and stop receiving emails from it, send an email to elasticsearch+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.