Use SOLR on Mysql relational database. Use SOLR for only product table -


I'm a bit confused where the SOLR usage ends and where it starts.

I use php for a shopping site with a relational MESCL DB where all the tables are related to the product table, such as those added to the tables, there is no need to say very slow !

For example

  • Category table - CATIED, CATLAN, CATTADEK
  • Brand Table - Brand, Brand Name, Brand DSC
  • Product Table - Productive, Product Name, ProductDesk, Cathed, Branded
  • (I also use Price Limits etc.)

I'm thinking I should use the SOLR to index the whole relational schema or just to index the product table. And should work to present my application.

If I switch to the product table to use only SOLR, then is there a signal to it?

Eg Mysql I can do a full text search while joining the brand table. This will also enable the brand to be searched. Is it possible to get the same thing by switching the product table to SOLR? Do I have any other warnings for which I am looking for.

I also want to create a new table for "searches". This will allow me to use the keyword in a mysql table as follows:

Search table - finder (example lipstick), synonyms (like lipsticks, lips, etc.)

That is This will allow me to search on multiple posts at the same time - could be a good time to use aspects of SOLR instead of instead of archiving searches in my case, or do I store searches and SOLR Should only use mysql to pull products from?

Any help is appreciated

switch Not required

You do not want to "switch" - just use the full-text index in MySQL (or by using something like Sphinx), from full text index database tables Is different.

What you want to do is to find out what you are searching for in Solar and index - this can be just a product. This is definitely an easy first step.

Actually you will:

  • Use the appropriate column (s) in the solar indicator
  • Use Solar to search
  • < Li> Use the Solar result to point back to the record from the database

I am more than Ruby and Java PHP, but basically you will talk to Solr full-text search And to find the records you want to display.


Comments

Popular posts from this blog

sql - dynamically varied number of conditions in the 'where' statement using LINQ -

asp.net mvc - Dynamically Generated Ajax.BeginForm -

Debug on symbian -