Can't get filters and queries working with Percolate

Hi All,
I'm having some trouble getting percolate with filters and queries working.
I saw this posthttp://elasticsearch-users.115913.n3.nabble.com/percolate-accepts-a-query-not-a-filter-td4013609.htmlwhere kimchy recommends using "constant score query" but still no luck.
Does anyone have any ideas as to what I may be doing wrong? Here is my
gist https://gist.github.com/ronpastore/5970509. Thanks for any help!

Also, im on ElasticSearch Version: 0.19.10.

--
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.

Hey,

try wrapping your constant_score query inside of a "query" object

--Alex

On Wed, Jul 10, 2013 at 11:45 PM, Ron Pastore vacorama@gmail.com wrote:

Hi All,
I'm having some trouble getting percolate with filters and queries
working. I saw this posthttp://elasticsearch-users.115913.n3.nabble.com/percolate-accepts-a-query-not-a-filter-td4013609.htmlwhere kimchy recommends using "constant score query" but still no luck.
Does anyone have any ideas as to what I may be doing wrong? Here is my
gist https://gist.github.com/ronpastore/5970509. Thanks for any help!

Also, im on ElasticSearch Version: 0.19.10.

--
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.

--
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.

that did it! Alex, thanks so much. I'll update the gist with the query
wrap.

On Thursday, July 11, 2013 3:00:34 AM UTC-4, Alexander Reelsen wrote:

Hey,

try wrapping your constant_score query inside of a "query" object

--Alex

On Wed, Jul 10, 2013 at 11:45 PM, Ron Pastore <vaco...@gmail.com<javascript:>

wrote:

Hi All,
I'm having some trouble getting percolate with filters and queries
working. I saw this posthttp://elasticsearch-users.115913.n3.nabble.com/percolate-accepts-a-query-not-a-filter-td4013609.htmlwhere kimchy recommends using "constant score query" but still no luck.
Does anyone have any ideas as to what I may be doing wrong? Here is my
gist https://gist.github.com/ronpastore/5970509. Thanks for any help!

Also, im on ElasticSearch Version: 0.19.10.

--
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 elasticsearc...@googlegroups.com <javascript:>.
For more options, visit https://groups.google.com/groups/opt_out.

--
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.