Are you using routing or parent mapping where post is a child mapping
(which uses routing)? If so, you need to provide the routing value when
doing a GET.
And actually delete gives me the same:
All such requests (GET, DELETE) give me exist:false or document
missing exception.
But search (any kind, by ID or just text) returns the document.
I've run few more tests, and this behavior is not consistent, some
times I cannot reproduce the problem.
But those documents which got returned by search, but not by get, I
couldn't even get read of them, since Delete also fails to find them.
What could be the problem? Or at least how I could force to remove
those documents from search results?
Are you using routing or parent mapping where post is a child mapping
(which uses routing)? If so, you need to provide the routing value when
doing a GET.
You did not answer the question though, when you index the document, do you
use parent mapping or routing value? If you do, you need to provide the
value, if not, then gist a recreation.
And actually delete gives me the same:
All such requests (GET, DELETE) give me exist:false or document
missing exception.
But search (any kind, by ID or just text) returns the document.
I've run few more tests, and this behavior is not consistent, some
times I cannot reproduce the problem.
But those documents which got returned by search, but not by get, I
couldn't even get read of them, since Delete also fails to find them.
What could be the problem? Or at least how I could force to remove
those documents from search results?
Are you using routing or parent mapping where post is a child mapping
(which uses routing)? If so, you need to provide the routing value when
doing a GET.
You did not answer the question though, when you index the document, do you
use parent mapping or routing value? If you do, you need to provide the
value, if not, then gist a recreation.
And actually delete gives me the same:
All such requests (GET, DELETE) give me exist:false or document
missing exception.
But search (any kind, by ID or just text) returns the document.
I've run few more tests, and this behavior is not consistent, some
times I cannot reproduce the problem.
But those documents which got returned by search, but not by get, I
couldn't even get read of them, since Delete also fails to find them.
What could be the problem? Or at least how I could force to remove
those documents from search results?
Are you using routing or parent mapping where post is a child mapping
(which uses routing)? If so, you need to provide the routing value when
doing a GET.
You did not answer the question though, when you index the document, do
you
use parent mapping or routing value? If you do, you need to provide the
value, if not, then gist a recreation.
And actually delete gives me the same:
All such requests (GET, DELETE) give me exist:false or document
missing exception.
But search (any kind, by ID or just text) returns the document.
I've run few more tests, and this behavior is not consistent, some
times I cannot reproduce the problem.
But those documents which got returned by search, but not by get, I
couldn't even get read of them, since Delete also fails to find them.
What could be the problem? Or at least how I could force to remove
those documents from search results?
Are you using routing or parent mapping where post is a child mapping
(which uses routing)? If so, you need to provide the routing value
when
doing a GET.
On Mon, Nov 28, 2011 at 4:18 AM, Eugene Strokin <eug...@strokin.info
wrote:
I'm getting strange exception. I'm getting it when running MLT
query.
But the reason is actualy not related to MLT.
If I run search like
You did not answer the question though, when you index the document, do
you
use parent mapping or routing value? If you do, you need to provide the
value, if not, then gist a recreation.
And actually delete gives me the same:
All such requests (GET, DELETE) give me exist:false or document
missing exception.
But search (any kind, by ID or just text) returns the document.
I've run few more tests, and this behavior is not consistent, some
times I cannot reproduce the problem.
But those documents which got returned by search, but not by get, I
couldn't even get read of them, since Delete also fails to find them.
What could be the problem? Or at least how I could force to remove
those documents from search results?
Are you using routing or parent mapping where post is a child
mapping
(which uses routing)? If so, you need to provide the routing value
when
doing a GET.
On Mon, Nov 28, 2011 at 4:18 AM, Eugene Strokin <
eug...@strokin.info>
wrote:
I'm getting strange exception. I'm getting it when running MLT
query.
But the reason is actualy not related to MLT.
If I run search like
Apache, Apache Lucene, Apache Hadoop, Hadoop, HDFS and the yellow elephant
logo are trademarks of the
Apache Software Foundation
in the United States and/or other countries.