Skip to content

Expressing constant score queries #6

Open
@leforestier

Description

@leforestier

Hi,

thanks for this library, it's very useful to me.
But I haven't found a way to express constant score queries using Q.
(see https://lucene.apache.org/solr/guide/7_2/the-standard-query-parser.html or https://stackoverflow.com/a/46151908/1126971 ).
In Solr, they write it like this: field:value^=1 for example.
Using ^= in Solrq is out of the question since you already use it to boost a Q object in place.

But I'd really like a way to express these in Solrq.

Metadata

Metadata

Assignees

Labels

No labels
No labels

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions