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 6944343
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 27, 20262026-05-27T13:17:41+00:00 2026-05-27T13:17:41+00:00

I am trying to implement Solr facet search functionality and testing my query on

  • 0

I am trying to implement Solr facet search functionality and testing my query on the server via the url. When I run this query


http://localhost:8080/solr3/core0/select?indent=on&version=2.2&q=ipad&facet.field=brand&facet=on


I get something like


...<lst name="facet_counts"><lst name="facet_queries"/><lst name="facet_fields"><lst name="brand"><int name="Apple">37</int>


But when I use apple as facet query like


http://localhost:8080/solr3/core0/select?indent=on&version=2.2&q=ipad&facet.field=brand&facet=on&fq=apple


I expect to get 37 results, but query returns <result name="response" numFound="402" start="0">

Am I missing something here?

Thanks

  • 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-27T13:17:42+00:00Added an answer on May 27, 2026 at 1:17 pm

    This is how you apply the filter: q=ipad&fq=brand:apple

    Don’t repeat the facet unless you want multi-select facets (and even then, it’s more complex than that).

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

Sidebar

Related Questions

I am trying implement an alphabetical range to perform a query in Solr 3.3.
Trying to implement search with Sunspot Gem wich is using Solr.Fulltext search works fine
Trying to implement this gallery on my website. http://coffeescripter.com/code/ad-gallery/ It is noted in the
Im trying to implement this code: http://wcf.codeplex.com/wikipage?title=Getting%20started:%20Building%20a%20simple%20web%20api and want to add it to my
I am trying to implement a Solr based search for a message thread. Each
I am trying to implement search with Django haystack and solr, but I get
Trying to implement the signature verification of inapp billing on my server (Django/Python). I
Trying to implement the excellent jQuery bidirectional infite scroll as explained here: http://www.bennadel.com/blog/1803-Creating-A-Bidirectional-Infinite-Scroll-Page-With-jQuery-And-ColdFusion.htm For
Trying to implement an autocomplete based on this It looks like it's very straight
iam trying to implement an Searchmachine into my site. Iam using Zend_Search_Lucene for this.

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.