Boosting issue


(Carlos Eduardo da Fonseca) #1

Using the following query: https://gist.github.com/1279199

And seeing this results: https://gist.github.com/1279209

I expect to get the event 397 ("Euax Conference") in first position, as the
"name" attribute has the highest boost.

The problem is I'm getting it as last result, because address is getting
boosted for having 2 of the words I did search.

I was using my query without constant_score on address field before and
tried to use it to solve this problem but it didn't worked. How can I solve
it?

My mappings and settings are here: https://gist.github.com/1279224

Sorry posting so many links, I don't know If I should make an extense post.

Thanks.

--
Carlos Eduardo da Fonseca


(Carlos Eduardo da Fonseca) #2

Just to complement, I wish "address" field to receive 5.0 boost
independently of how many words the query matches.

On Tue, Oct 11, 2011 at 5:05 PM, Carlos Eduardo da Fonseca <
eduardongu@gmail.com> wrote:

Using the following query: https://gist.github.com/1279199

And seeing this results: https://gist.github.com/1279209

I expect to get the event 397 ("Euax Conference") in first position, as the
"name" attribute has the highest boost.

The problem is I'm getting it as last result, because address is getting
boosted for having 2 of the words I did search.

I was using my query without constant_score on address field before and
tried to use it to solve this problem but it didn't worked. How can I solve
it?

My mappings and settings are here: https://gist.github.com/1279224

Sorry posting so many links, I don't know If I should make
an extense post.

Thanks.

--
Carlos Eduardo da Fonseca

--
Carlos Eduardo da Fonseca


(system) #3