Re: Constant Score Queries and Function Queries

2009-10-26 Thread Grant Ingersoll
On Oct 25, 2009, at 2:36 PM, Chris Hostetter wrote: : Fair enough, I guess I was just kind of expecting a constant score query + a : function query to result in a score of whatever the function query is. This : is a common trick to sort by a function, but it's easy enough to just ^0 the

Re: Constant Score Queries and Function Queries

2009-10-25 Thread Chris Hostetter
: Fair enough, I guess I was just kind of expecting a constant score query + a : function query to result in a score of whatever the function query is. This : is a common trick to sort by a function, but it's easy enough to just ^0 the : non function clause. I think the root of hte issue is that

Re: Constant Score Queries and Function Queries

2009-10-23 Thread Grant Ingersoll
On Oct 22, 2009, at 9:44 PM, Chris Hostetter wrote: : > Why wouldn't you just query the function directly and leave out the *:* ? : : *:* was just a quick example, I might have other constant score queries, but I : guess I probably could do a filter query plus the function query, too.

Re: Constant Score Queries and Function Queries

2009-10-22 Thread Chris Hostetter
: > Why wouldn't you just query the function directly and leave out the *:* ? : : *:* was just a quick example, I might have other constant score queries, but I : guess I probably could do a filter query plus the function query, too. I guess i don't udnerstand what your point was ... you mention

Re: Constant Score Queries and Function Queries

2009-10-22 Thread Grant Ingersoll
On Oct 22, 2009, at 2:44 PM, Chris Hostetter wrote: : As a workaround, I can do: *:*^0 _val_:price_f, which gets rid of the query : norm factor. : : I realize I could override the similarity or use the workaround, but I was : just curious about what other people think of this. Why wouldn'

Re: Constant Score Queries and Function Queries

2009-10-22 Thread Chris Hostetter
: As a workaround, I can do: *:*^0 _val_:price_f, which gets rid of the query : norm factor. : : I realize I could override the similarity or use the workaround, but I was : just curious about what other people think of this. Why wouldn't you just query the function directly and leave out the *:*