Re: Boost field does not work..

2014-06-17 Thread Ivan Brusic
How do you know that the search is not working? Can you post an example query and perhaps an example explanation? If you are searching against the all field, you can set include_in_all to false for that field. You are better off not searching a field instead of trying to set a boost. Cheers,

Boost field does not work..

2014-06-16 Thread Felix Xu
Hi Guys, I have two types in a index, one is used for indexing topics and another one is used for indexing comments. Here is the sample mapping: *Topic*: curl -XPUT http://localhost:9200/bbs/topic/_mapping -d' { topic: { _timestamp: { enabled: true },

Boost field does not work..

2014-06-16 Thread Felix Xu
Hi Guys, I have two types in a index, one is used for indexing topics and another one is used for indexing comments. Here is the sample mapping: *Topic*: curl -XPUT http://localhost:9200/bbs/topic/_mapping -d' { topic: { _timestamp: { enabled: true },