My upgrade to 0.16 has not gone smoothly, I'm afraid.
I had a set of mappings and bulk indexing operations that worked. After the upgrade, I got a few errors. So I stripped everything down to a very simple example that had no errors. Cool... But now, when I search on a document that I know should have been indexed -- in the same way I've always searched before -- I get 0 results.
I am anticipating someone who sees the gist might ask: Why do you have a
{query: {"wildcard": { "_id": "*"}}}
It's a bit clunky, but I've structured it this way because my application is building query terms on the fly. This is a case where no query terms were specified -- only filter terms.
Anyway, I don't think that has anything to do with my problem. But you may have a better answer.
On Sat, May 14, 2011 at 9:01 PM, searchersteve stevesuo@gmail.com wrote:
My upgrade to 0.16 has not gone smoothly, I'm afraid.
I had a set of mappings and bulk indexing operations that worked. After the
upgrade, I got a few errors. So I stripped everything down to a very simple
example that had no errors. Cool... But now, when I search on a document
that I know should have been indexed -- in the same way I've always
searched
before -- I get 0 results.
I am anticipating someone who sees the gist might ask: Why do you have a
{query: {"wildcard": { "_id": "*"}}}
It's a bit clunky, but I've structured it this way because my application
is
building query terms on the fly. This is a case where no query terms were
specified -- only filter terms.
Anyway, I don't think that has anything to do with my problem. But you may
have a better answer.
Look at the very top change here:
http://www.elasticsearch.org/download/2011/04/23/0.16.0.html
If you want to match all, why not do:
{query: "match_all"}
Cheers,
On Sat, May 14, 2011 at 9:01 PM, searchersteve <stevesuo@gmail.com> wrote:
My upgrade to 0.16 has not gone smoothly, I'm afraid.
I had a set of mappings and bulk indexing operations that worked. After the
upgrade, I got a few errors. So I stripped everything down to a very simple
example that had no errors. Cool... But now, when I search on a document
that I know should have been indexed -- in the same way I've always
searched
before -- I get 0 results.
I am anticipating someone who sees the gist might ask: Why do you have a
{query: {"wildcard": { "_id": "*"}}}
It's a bit clunky, but I've structured it this way because my application
is
building query terms on the fly. This is a case where no query terms were
specified -- only filter terms.
Anyway, I don't think that has anything to do with my problem. But you may
have a better answer.
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.