• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

pulibrary / orangelight / 884a90b4-e638-4b9f-acca-4700d12896e6 / 1
95%
main: 95%

Build:
DEFAULT BRANCH: main
Ran 29 Oct 2024 12:18PM UTC
Files 192
Run time 5s
Badge
Embed ▾
README BADGES
x

If you need to use a raster PNG badge, change the '.svg' to '.png' in the link

Markdown

Textile

RDoc

HTML

Rst

29 Oct 2024 12:11PM UTC coverage: 96.877% (+0.001%) from 96.876%
884a90b4-e638-4b9f-acca-4700d12896e6.1

push

circleci

maxkadel
[#4344] Remove mm solr parameter when the user's query contains boolean OR

mm has a particular meaning when using the Boolean query parser, which is
used when we send JSON queries like this to solr:

{"query":{"bool":{"must":[{"edismax":{"query":"activism OR \"social justice\""}}]}}}

In these cases, according to Solr's documentation, mm specifies the
number of should clauses required for a document to be included in the
results.  In our configuration, the default mm is 6<90%, meaning that if
there are 6 or fewer clauses, all are required (and if there are 7 or more,
90% of the clauses are required).  This conflicts with and overrides the
OR that the user intended.

Therefore, if we notice that the user's query includes OR in all caps,
set the mm to 0 (meaning no minimum number of the clauses needs to be
included).

Many thanks to @maxkadel for troubleshooting this with me!

Closes #4344

6112 of 6309 relevant lines covered (96.88%)

1550.51 hits per line

Source Files on job 884a90b4-e638-4b9f-acca-4700d12896e6.1
  • Tree
  • List 192
  • Changed 43
  • Source Changed 0
  • Coverage Changed 1
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Build 884
  • cba18fb6 on github
  • Prev Job for on main (#2eccb88d-3231-4e4e-9931-f93451785d49.1)
  • Next Job for on main (#d4c872f7-b5b9-407b-8c4f-dba7b9fafe2a.1)
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc