HELP - how to boost while indexing a couchdb with elastic search

(shadow) #1

Hi all, based on some posts, I did the following:

curl -XPUT http://localhost:9200/testdb/testdb/_mapping -d

and then did the indexing again:

curl -XPUT 'http://localhost:9200/_river/testdb/_meta' -d '{
"type" : "couchdb",
"couchdb" : {
"host" : "localhost",
"port" : 5984,
"db" : "testdb",
"filter" : null
"index" : {
"index" : "testdb",
"type" : "testdb",
"bulk_size" : "100",
"bulk_timeout" : "10ms"

but still I don't see any changes in results pre/post boosting. I did a
strong "25" boost, just so that I can see some changes to make sure that
this way of boosting at index time works...
I read a few posts where people have done it, but can't seem to reproduce.

Can anyone tell me what I'm doing wrong, or tell me how to do the boosting
at the time of indexing?


(shadow) #2

Just to clarify - I'm trying to index specific fields in a document, and not the entire doc.

I'm also looking for examples for both boosting while indexing, and boosting at the search time. I tried implementing boosting at search time too, but didn't get any success...


(system) #3