Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • Home
  • SEARCH
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 6599507
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 25, 20262026-05-25T18:30:01+00:00 2026-05-25T18:30:01+00:00

I want/need to do some more or less complex logical queries in Sol:r and

  • 0

I want/need to do some more or less complex logical queries in Sol:r and I’m not quite sure about the correct syntax. I searched the web, but with no real success.

Here’s what I want (just an example):

fq=FIELD1:[(0 TO 3.9) OR (5 TO 9.9)] AND FIELD2:[(2 TO 4.4) OR (0 TO 1) OR (7 TO *)] AND ...

It can go quite long and complex, depending on what the user actually activates.
What the user does is activating ranges of different facets to specifiy his search.
So IN the facet there’s always a OR logic, because he wants to spread the search and between the facets there’s always a AND logic.
That’s what I want to achieve, but I don’t know how to get the syntax working.

Any ideas from your side would be very helpful. Thank you for reading 🙂

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-25T18:30:01+00:00Added an answer on May 25, 2026 at 6:30 pm

    You need something like this I think:

    fq=FIELD1:([0 TO 3.9] OR [5 TO 9.9]) AND FIELD2:([2 TO 4.4] OR [0 TO 1] OR [7 TO *]) AND ...
    

    just need to exchange [ and (. ( is a grouping operator; [ is a range operator.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I need some advice regarding which database I should use. I want to create
I need some comments on the code that I assembled. I want to know
I need some help with CSS overflow in IE, namely IE 7. I want
I'm going around in circles and so need some help. I want to be
I am somewhat new to blocks and need some help. I want to store
I want to make a website on the lines of stackoverflow. I need some
I need execute some code before Windows shutdown process each time. So, I want
I need to get some values of HTML web page. I want only the
I want to save some custom data into application configuration file and I need
Lets say I want to sort some items and need to sort them by

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.