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'm currently developping a search engine using Solr for an ecommerce website. So I
I currently using android NDK to write some native code in C. I have
I have tried search using Apache SOLR. I have done with the PHP client
I'm using Data Import Handler (DIH) to create documents in solr. Each document will
Currently, Im using solr as a search server. My issue is that I do
While using Solr (we are currently using 3.5), how do we setup the Masters
I am currently using Apache Solr to build a search engine. The queries in
I was using the EnglishPorterFilterFactory for the application that I'm currently building in solr.

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.