Percolator and has_parent filter

Is it possible to use Has_parent filter in a percolator ? I always have
erros while i'm trying to create one that contains such a filter .

Is there any solutions ? Where can i found a good documentation about what
is possible to do or not with percolator ?

thanks

--

1 Like

Hello Samuel,

For me at least, has_child query or filter doesn't work with
percolator, either. I get this on 0.19.11:

{"error":"ElasticSearchException[failed to parse query [kuku2]];
nested: ","status":500}

With 0.20.0.RC1, I get a similar exception.

As for documentation, I couldn't find exactly what you can do with
percolator, although there's this hint in the code about nested docs:

https://github.com/elasticsearch/elasticsearch/blob/master/src/main/java/org/elasticsearch/index/percolator/PercolatorExecutor.java#L294

Mind you, I don't know if this has something to do the failure for
has_parent/has_child filters. I could register a percolator with a
nested query without getting an error, although it doesn't seem to
work as expected.

Best regards,
Radu

http://sematext.com/ -- Elasticsearch -- Solr -- Lucene

On Sun, Nov 4, 2012 at 3:00 PM, samuel merlet samuel.merlet@gmail.com wrote:

Is it possible to use Has_parent filter in a percolator ? I always have
erros while i'm trying to create one that contains such a filter .

Is there any solutions ? Where can i found a good documentation about what
is possible to do or not with percolator ?

thanks

--

--

Percolator doesn't support queries and filters that run against nested and
child/parent documents. The has_child, has_parent, top_children, and nested
queries and has_child, has_parent, and nested filters are not supported at
this moment. I would expect everything else to work.

On Tuesday, November 6, 2012 3:55:07 AM UTC-5, Radu Gheorghe wrote:

Hello Samuel,

For me at least, has_child query or filter doesn't work with
percolator, either. I get this on 0.19.11:

{"error":"ElasticSearchException[failed to parse query [kuku2]];
nested: ","status":500}

With 0.20.0.RC1, I get a similar exception.

As for documentation, I couldn't find exactly what you can do with
percolator, although there's this hint in the code about nested docs:

https://github.com/elasticsearch/elasticsearch/blob/master/src/main/java/org/elasticsearch/index/percolator/PercolatorExecutor.java#L294

Mind you, I don't know if this has something to do the failure for
has_parent/has_child filters. I could register a percolator with a
nested query without getting an error, although it doesn't seem to
work as expected.

Best regards,
Radu

http://sematext.com/ -- Elasticsearch -- Solr -- Lucene

On Sun, Nov 4, 2012 at 3:00 PM, samuel merlet <samuel...@gmail.com<javascript:>>
wrote:

Is it possible to use Has_parent filter in a percolator ? I always have
erros while i'm trying to create one that contains such a filter .

Is there any solutions ? Where can i found a good documentation about
what
is possible to do or not with percolator ?

thanks

--

--

1 Like