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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 26, 20262026-05-26T20:07:38+00:00 2026-05-26T20:07:38+00:00

I am currently using Solr to do some searching across a large amount of

  • 0

I am currently using Solr to do some searching across a large amount of documents. I need to be able to, on the client-side, allow grouping of search results on the fly but I’m having trouble trying to figure out how to get this extra data I need out of Solr and pushed up to the front end.

So basically, let’s say I’m searching for the following values: "Test", "Wee"

And I have the following documents in Solr:

Doc1: "This is a Test, Wee"
Doc2: "Wee"
Doc3: "This is a Test"

All 3 documents should be returned by Solr. What I’d like returned is something that contains this:

Doc1 matched on values "Test" and "Wee
Doc2 matched on value "Wee"
Doc3 matched on value "Test"

I’m a bit new to Solr so I’m having difficulty trying to figure out what to search for. Should I be using faceting for this?

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-26T20:07:38+00:00Added an answer on May 26, 2026 at 8:07 pm

    It seems you have only one field you search upon, so faceting won’t really help you here (If each value came from a different field, that might be possible, what you suggested).
    Instead, I suggest you take a look at highlighting utilities, which marks the matched term.
    http://wiki.apache.org/solr/HighlightingParameters

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

Sidebar

Related Questions

currently i have a project using solr,now i want to add some feature,so i'm
I need some suggestions in terms of SLF4J logging. Currently, we are using SLF4J
I have tried search using Apache SOLR. I have done with the PHP client
Currently using Oracle/BEA/Plumtree ALUI Portal 6.1, and am trying to display a client's IP
Im currently using the JQuery UI extension for its search autocomplete. However, I need
so currently using ajax with JQuery .post to return a form populate with some
Im currently using base64_encode for some $_GET params that i don't want regular user
I'm using Solr for a realtime search index. My dataset is about 60M large
Currently, solr grouping ( http://wiki.apache.org/solr/FieldCollapsing ) sorts groups by the score of the top
I'm currently using Solr with Terms Component and Jquery Autosuggest which works quiet good.

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.