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

  • SEARCH
  • Home
  • 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 7572161
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 30, 20262026-05-30T15:51:19+00:00 2026-05-30T15:51:19+00:00

I have customized the solar query so that it returns me the response in

  • 0

I have customized the solar query so that it returns me the response in each fulfillment center for a particular product (say chair) as

inventory_11051======>10

inventory_11052======>0

etc

I need to add a filter in the front end so that my solar results are filtered to show only those products which has inventory greater than 0.

Please note: 11051 and 11052 are fulfillment ids which I should decide at run time and append to the filter. Can someone please help me on the same?

Cheers!

  • 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-30T15:51:21+00:00Added an answer on May 30, 2026 at 3:51 pm

    I gathered from your question that you have a number of inventories you have to check? So you need to return fulfillment IDs for product X where inventory is greater than zero? I assume then that product ID plus fulfillment ID is the unique key for your index?

    If so then filtering for inventory should not be a problem. Inventory is an integer, right? So to filter on inventory you would simply add ” inventory:[1 TO *] ” to your filter query parameter (“fq” if you’re using the Solr web service). Filtering on fulfillment IDs should work similarly, except you won’t be using a range: ” fulfillment_id:(11051 OR 11052) “. Does that help? Remember to use a “+” before each filter if you have multiple filter params. So your filter query may look like this: “fq=+inventory:[1 TO *] +fulfillment_id:(11051 OR 11052)”.

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

Sidebar

Related Questions

i have an customized cell that is loaded in table view cell and each
I have a customized ListView that each row of the list is composed by
We have a lot of customized spreadsheet solutions that are being used and we
I have an application that has a list of buttons and has customized tooltips.
I have panel that I have customized. I use it to display text. But
I have customized uitableViewcell in which each cell show four data which are related
I have customized the contextual menu for my Cocoa application such that only certain
i have a website that will have customized designs, depending on what store was
I have a UITableViewController that has custom cells that I have customized with my
I have one customized list MyList that extends ArrayList, like this: class MyList extends

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.