[Xapian-discuss] OP_ELITE_SET and max number of terms

Bruno Rezende brunovianarezende at gmail.com
Sat Jun 18 16:02:19 BST 2011


On Thu, Jun 16, 2011 at 9:58 PM, Olly Betts <olly at survex.com> wrote:
> On Thu, Jun 16, 2011 at 04:28:25PM -0300, Bruno Rezende wrote:

>> is it possible to use only the fixed number of terms, or a fixed max
>> number of terms, instead of using 'ceil(sqrt(number_of_subqueries))'
>> (e.g. if I have 144 terms, instead of using 12 terms I'd like to use
>> only 10 terms)?
>
> Yes, that's what this part is saying (or trying to):
>
>    "may be set by specifying a parameter to the query constructor"
>

ah, I misunderstood the documentation. Thanks for clarifying!

-- 
Bruno



More information about the Xapian-discuss mailing list