Re: elasticsearch NoShardAvailableActionException

2014-08-01 Thread Jeff Dupont
I'm getting the same issue using Node.js. Looking for any solutions at this point as a restart of the server never seems to work. On Friday, July 6, 2012 4:09:58 PM UTC-7, Yuhan Zhang wrote: Hi all, looks like I am still able to retrieve data from localhost:9200 through curl, but when I

Re: deleting documents that are missing fields

2014-06-21 Thread Jeff Dupont
I tried the filter on the match_all and it doesn't seem to find the results. DELETE /my_index/pages/_search { filtered: { match_all: {}, filter: { missing: { field: sentences, existence: true, null_value: true } } } } -- You received this

Re: deleting documents that are missing fields

2014-06-21 Thread Jeff Dupont
I finally got it!! Thanks to this thread https://groups.google.com/forum/#!topic/elasticsearch/Eb5ERjHXp4Y. The syntax has changed where it now requires that the whole be wrapped by a query property. query: { filtered: { query: { match_all: {} }, filter: {

deleting documents that are missing fields

2014-06-20 Thread Jeff Dupont
I can easily query for documents that are missing a particular term field, however I'd like to free up that space and remove those documents. I've tried this with no luck: DELETE /my_index/pages/_search { filter : { missing : { field : sentences,

encoding is longer than the max length 32766

2014-05-29 Thread Jeff Dupont
We’re running into a peculiar issue when updating indexes with content for the document. document contains at least one immense term in (whose utf8 encoding is longer than the max length 32766), all of which were skipped. please correct the analyzer to not produce such terms” I’m hoping