: I don't believe however that the two queries (the one with the post filter
: and the one without one) are equivalent.
:
: Suppose out of the whole document set:
: XXX returns documents 1,2,3.
: AAA returns documents 6,7,8.
: {!frange}customfunction returns documents 7,8.
:
: Running this quer
Hi Chris,
Thanks for your patience, I've now got a better image on how things work.
I don't believe however that the two queries (the one with the post filter
and the one without one) are equivalent.
Suppose out of the whole document set:
XXX returns documents 1,2,3.
AAA returns documents 6,7,8.
: Let's take this query sample:
: XXX OR AAA AND {!frange ...}
:
: For my use case:
: AAA returns a subset of 100k documents.
: frange returns 5k documents, all part of these 100k documents.
:
: Therefore, frange skips the most documents. From what you are saying,
: frange is going to be applied
Thanks guys for your answers.
Sorry for the query syntax errors I've added in the previous queries.
Chris, you've been really helpful. Indeed, point 3 is the one I'm trying to
solve, rather than 2.
You're saying that "BooleanScorer will consult the clauses in order based
on which clause
says it ca
: Now, if I want to make a query that also contains some OR, it is impossible
: to do so with this approach. This is because fq with OR operator is not
: supported (SOLR-1223). As an alternative I've tried these queries:
:
: county='New York' AND (location:Maylands OR location:Holliscort or
: park
On Mon, Jun 23, 2014 at 5:02 PM, Costi Muraru wrote:
> q=*:*&fq={!cost=1}type:purchase&{!frange u=0 cost=3}mycustomfunction()
> The function is applied on all documents, instead of only those that match
> the *purchase* type. I verified this assumption, by checking the query time
> and also by deb
Hi Costi,
This is untested, but in theory you could use ReRankingQParserPlugin
http://heliosearch.org/solrs-new-re-ranking-feature/
Your expensive query will be reRankQuery used to re-rank sample documents.
Please lets us know it that works for you.
Ahmet
On Monday, June 23, 2014 1:03 PM, C
Hi guys,
I'm running some tests and I can't see to figure this one out.
Suppose we have a real estate index, containing homes for rent and purchase.
The first kind of query I want to make is like so:
- type:purchase AND {!frange u=10}mycustomfunction()
The function is expensive and, in order to i