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

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

Build:
DEFAULT BRANCH: main
Ran 29 Oct 2024 12:17PM UTC
Jobs 1
Files 192
Run time 1min
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

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

3 of 3 new or added lines in 1 file covered. (100.0%)

6112 of 6309 relevant lines covered (96.88%)

1550.51 hits per line

Jobs
ID Job ID Ran Files Coverage
1 884a90b4-e638-4b9f-acca-4700d12896e6.1 29 Oct 2024 12:17PM UTC 192
96.88
Source Files on build 884a90b4-e638-4b9f-acca-4700d12896e6
  • Tree
  • List 192
  • Changed 43
  • Source Changed 0
  • Coverage Changed 1
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • CircleCI Build #884A90B4...
  • cba18fb6 on github
  • Prev Build on main (#2ECCB88D...)
  • Next Build on main (#D4C872F7...)
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

© 2025 Coveralls, Inc