I'm writing a Java program using Transport client to connect to
elasticsearch server. I created an index with field "event" and I
provided two value "0000" and "desc". It seems that each time I use
termQuery to search for "0000", I can find the result. But if I use
termQuery to search for "desc", I can not find anything. I'm using the
latest JDK and windows 7 32-bit. I also use elasticsearch 0.16.2.
Thanks for your attention and look forward to your reply.