Many thanks for your replies, I’m a little hungover today :-) so I’ll take a proper look at your suggestions on Monday and see how I go.
Really hope I can get it working as it would be awesome for our app. On 10 May 2014 17:39, Clinton Gormley <[email protected]> wrote: > It helps to provide the exact steps that you were trying, otherwise we are > left to guess. I tried your example and it worked, but then I probably did > it in a slightly different way. > > I think the likeliest problem is that you are creating the percolator > queries before you index a document or setup the mapping? That means that > (eg) the site_id clause defaults to using a string query, because it doesn't > have a mapping to refer to to figure out that it is a long field. > > If you setup the mapping before registering the percolation queries, then > things should work correctly. > > -- > You received this message because you are subscribed to a topic in the > Google Groups "elasticsearch" group. > To unsubscribe from this topic, visit > https://groups.google.com/d/topic/elasticsearch/-kzy9LiNZa4/unsubscribe. > To unsubscribe from this group and all its topics, send an email to > [email protected]. > To view this discussion on the web visit > https://groups.google.com/d/msgid/elasticsearch/CAPt3XKT_EpQO3PnH-MACPOCQYWMw9oeWnQWhOQDybc1JQ2y3TA%40mail.gmail.com. > > For more options, visit https://groups.google.com/d/optout. -- 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 [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/elasticsearch/CANx%3DypTNz%2B2v%3DoSzrHShvY3gwYcjhE4SCSji6DpA373LiWUkQw%40mail.gmail.com. For more options, visit https://groups.google.com/d/optout.
