No suggestions? 

/A

On Thursday, November 13, 2014 4:44:35 PM UTC+1, Alexander Jiteg wrote:
>
> Follow up question; What If I change the terms in the looked up filter 
> after the percolator has been created? Seems that the terms are cached but 
> even though I have experimented with cache invalidation the only thing I 
> got working so far is deleting/recreating the percolator for the new terms 
> to kick in. 
>
>
> On Monday, November 3, 2014 10:20:38 AM UTC+1, Martijn v Groningen wrote:
>>
>> In the case of percolator queries are indexed before actual data is 
>> evaluated, which triggers the automatic addition of fields in mappings. 
>> Most of the times this is ok, but there are a number of queries that 
>> require the field mapping to exist before the percolator query is indexed.
>>
>> Because of this from 1.4.0 and onwards it is required that a field 
>> mapping exists for fields used in percolator queries: 
>> https://github.com/elasticsearch/elasticsearch/pull/6928
>>
>> I hope this explains.
>>
>> On 30 October 2014 13:23, Alexander Jiteg <[email protected]> 
>> wrote:
>>
>>> Seems that If I index a document with the given type first, it works.  
>>> That is probably why my second run works but not the first.
>>>
>>> On Thursday, October 30, 2014 9:59:49 AM UTC+1, Alexander Jiteg wrote:
>>>>
>>>> Hi!
>>>>
>>>> I'm trying to use a lookup terms filter for percolation but for some 
>>>> reason I'm not getting any matches when percolating documents that should 
>>>> match the registered percolator.
>>>>
>>>> Example: 
>>>> https://gist.github.com/alexndr79/760314b8b5f49157a839#file-
>>>> percolation_with_terms_lookup-txt
>>>>
>>>> I have noted that if I try to index the same percolator a second time 
>>>> after the first percolation (that gives not matches) it seems that 
>>>> following percolations will give the expected result. 
>>>>
>>>> I'm running ES 1.3.4. 
>>>>
>>>> Suggestions?
>>>>
>>>> /Alex
>>>>
>>>  -- 
>>> 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/b185c84f-328f-4f4b-85c6-50a746919cb6%40googlegroups.com
>>>  
>>> <https://groups.google.com/d/msgid/elasticsearch/b185c84f-328f-4f4b-85c6-50a746919cb6%40googlegroups.com?utm_medium=email&utm_source=footer>
>>> .
>>>
>>> For more options, visit https://groups.google.com/d/optout.
>>>
>>
>>
>>
>> -- 
>> Met vriendelijke groet,
>>
>> Martijn van Groningen
>>  
>

-- 
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/56b2d3ba-757a-46f7-9db1-70f97acc5e1c%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to