I'm using Java API in a JUnit test to evaluate elasticsearch.
Problem is I can't get any search results...
getting document by id works fine but I see that the fields are not populated...even after explicitly mapping
one the fields.
is this the reason why I get totalHits=0? wrong mapping?
Hard to tell, if you can gist your simple test class, I can have a look.
On Thursday, February 3, 2011 at 2:35 PM, stelios wrote:
Hi,
I'm using Java API in a JUnit test to evaluate elasticsearch.
Problem is I can't get any search results...
getting document by id works fine but I see that the fields are not
populated...even after explicitly mapping
one the fields.
is this the reason why I get totalHits=0? wrong mapping?
Hard to tell, if you can gist your simple test class, I can have a look.
On Thursday, February 3, 2011 at 2:35 PM, stelios wrote:
Hi,
I'm using Java API in a JUnit test to evaluate elasticsearch.
Problem is I can't get any search results...
getting document by id works fine but I see that the fields are not
populated...even after explicitly mapping
one the fields.
is this the reason why I get totalHits=0? wrong mapping?
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.