Percolator queries get lost after restart


(Omar Achoor) #1

Hello,

All percolator queries disappear from the index after restarting Elasticsearch.

For now all percolator queries are stored in the database, then a command is triggered to recreate these queries whenever Elasticsearch get restarted.

I'm looking for some insights on how to restore these documents.

Get query : GET my_index/.percolator/1

Google is not helpful at this point.

Thanks in advance


(Daniel Mitterdorfer) #2

Hi @oachoor,

this sounds very odd.

Can you please double-check with the docs of the percolator API (I'm assuming you're on 2.x)? If the problem still persists can you please post a self-contained minimal and reproducible example here?

Daniel


(Omar Achoor) #3

Thanks @danielmitterdorfer,

Sorry for not specifying my Elasticsearch version, I'm using 1.7.5 !

May bad, there was a command that resets all queries, all works quite fine.


(Daniel Mitterdorfer) #4

Hi @oachoor,

Glad to hear that it works now. :slight_smile:

Daniel


(system) #5

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.