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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 13, 20262026-05-13T15:25:15+00:00 2026-05-13T15:25:15+00:00

I am a bit confused as to where SOLR usage ends and where it

  • 0

I am a bit confused as to where SOLR usage ends and where it begins.

I use php with a relational mysql db for a shopping site where all tables are related to the product table joining the tables as theyre queried. Needless to say its too slow!

e.g.

  • Category table – catid, catname, catdesc
  • Brand table – brandid, brandname, branddesc
  • Product table – productid, productname, productdesc, catid, brandid
  • (I also use ranges for price ranges etc)

I am wondering whether I should use SOLR to index the whole relational schema or whether just to index the product table alone and let my application work as it currently does.

If I just switch the product table to use SOLR are there any caveats to this?

e.g. in mysql I can do a fulltext search while joining the brand table. This will allow brands to also be searched upon. Is it possible to achieve the same thing just by switching the product table to SOLR? Are there any other caveats I should be looking out for.

I also would like to create a new table for “searches”. This would allow me to use keywords in a mysql table in the following way:

Searches table – searchterm (e.g. lipstick), synonyms (e.g. lipstick, lips etc.)

ie. this would allow me to search upon multiple terms at the same time – a good time to use SOLR facets maybe instead of storing searches in mysql?, or should I just use mysql to store the searches and pull the products from SOLR?

Any help is gladly appreciated

  • 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-13T15:25:15+00:00Added an answer on May 13, 2026 at 3:25 pm

    NO NEED TO SWITCH

    You don’t want to “switch” — just like using full-text indexing in MySQL (or using something like Sphinx), the full-text index is separate from the database tables.

    What you want to do is figure out what you’re searching for and index that in Solr — it may well be just products. That’s certainly an easy first step.

    Basically you’ll:

    • index the appropriate column(s) into Solr
    • use Solr for the searching
    • use the Solr results to point back to the records from the database

    I’m more Ruby and Java than PHP, but you’ll basically be talking to Solr for the full-text search and using that to find the records you want to display.

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

Sidebar

Related Questions

I'm a bit confused about the use of all the IEnumerable<T> extension methods, intellisense
I am bit confused in the usage of Static class, Private constructor and abstract
I am bit confused about the difference between the usage of std::remove algorithm. Specifically
I'm a bit confused about the exact use cases for jqueryui. What do you
I'm little bit confused about constants naming. kName NameKey NAME_KEY Definitely usage of these
I am a bit confused about SQL CLR. When i use the below query
i'm a little bit confused here. i've PHP file that retrieve database records .
I am a bit confused about the usage of prototypes in Javascript. Let's take
I got a bit confused, because when I use the generic ListView class, Django
Bit confused here, I have an on-demand instance but do I get charged even

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.