Re: TermsQuery Result Ordering

2017-10-19 Thread Erick Erickson
If it's worth the effort to you, you could write a custom scorer that "somehow" pulled these terms out and did what you require. I suppose some kind of clever function query might work, but again probably custom. Frankly, though, I wouldn't go there until I'd exhausted either my resources or my us

Re: TermsQuery Result Ordering

2017-10-19 Thread Webster Homer
Thank you, Erick. That is exactly what I thought. Indeed, we don't care about solr's scoring, as I said we do care about the order of the terms be maintained, hence the requirement for boosting the term values. On Wed, Oct 18, 2017 at 4:23 PM, Erick Erickson wrote: > bq: Can I boost the Terms

Re: TermsQuery Result Ordering

2017-10-18 Thread Erick Erickson
bq: Can I boost the Terms in the terms query I'm pretty sure you can't. But how many of these do you have? You can always increase the maxBooleanClauses limit in solrconfig.xml. It's primarily there to say "having this many clauses is usually a bad idea, so proceed with caution". I've seen 10,000