Dear all, 

I cannot able to query the field of attachment type. I followed the 
instruction 
in http://es-cn.medcl.net/tutorials/2011/07/18/attachment-type-in-action.html.

And the result of the search query:

curl "http://localhost:9200/_search?pretty=true"; -d '{
  "fields" : ["title"],
  "query" : {
    "query_string" : {
      "query" : "amplifier"
    }
  },
  "highlight" : {
    "fields" : {
      "file" : {}
    }
  }
}'

result:

{
  "took" : 1,
  "timed_out" : false,
  "_shards" : {
    "total" : 1,
    "successful" : 1,
    "failed" : 0
  },
  "hits" : {
    "total" : 0,
    "max_score" : null,
    "hits" : [ ]
  }
}


My ElasticSearch is the latest version, elasticsearch-0.90.9 and the plugin of 
mapper-attachment is 1.9.0 
(https://github.com/elasticsearch/elasticsearch-mapper-attachments).

In fact, the environment finished the setup yesterday. I have no clue why it 
cannot find anything.


Any ideas?


Regards,


Ivan

-- 
You received this message because you are subscribed to the Google Groups 
"elasticsearch" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to elasticsearch+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/elasticsearch/d0768325-af0d-4aeb-ae2d-499fac1ca08a%40googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.

Reply via email to