ElasticSearch & attachment type (NEST C#)

后端 未结 4 2035
孤城傲影
孤城傲影 2020-12-09 21:07

I\'m trying to index a pdf document with elasticsearch/NEST.

The file is indexed but search results returns with 0 hits.

I need the search result to return o

4条回答
  •  醉酒成梦
    2020-12-09 21:41

    I am working on the same so now i am trying this http://www.elasticsearch.cn/tutorials/2011/07/18/attachment-type-in-action.html

    This article explains issue

    pay attension that you should do correct mapping

     "title" : { "store" : "yes" },
     "file" : { "term_vector":"with_positions_offsets", "store":"yes" }
    

    I will try to figure out how to do that with NEST api and update this post

提交回复
热议问题