lucene-solr-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Rick Leir <>
Subject Re: Index data from mysql DB to Solr - From Scratch
Date Sat, 17 Feb 2018 20:11:37 GMT
Work backwards from your results screen. When a user has done a search, what information would
you like to appear on the screen?

That tells you what your Solr document needs to contain. How will you get that information
into the Solr document? You will do the SQL select(s) as necessary, get the info from MySQL,
 build a flat JSON record containing all that info for one document, and POST it to Solr.
Repeat for all documents. Do a commit. Sorry, I Left out all the details! Cheers -- Rick

On February 17, 2018 12:56:59 PM EST, "@Nandan@" <> wrote:
>Hi David ,
>Thanks for your reply.
>My few questions are :-
>1) I have to denormalize my MySQL data manually or some process is
>2) is it like when Data will insert into my MySQL  , it has to auto
>into solr ?
>Please explain these .
>On Feb 18, 2018 1:51 AM, "David Hastings" <> wrote:
>> Your first step is to denormalize your data into a flat data
>> Then index that into your solr instance. Then you’re done
>> On Feb 17, 2018, at 12:16 PM, @Nandan@
>> <>> wrote:
>> Hi Team,
>> I am working on one e-commerce project in which my data is storing
>> MySQL DB.
>> As currently we are using mysql search but planning to implement Solr
>> search to provide our customers more facilities.
>> Just for development purpose ,I am trying to do experiments into
>> Please guide me how can I Achieve it. Please provide some information
>> which I can refer to learn more in details from scratch.
>> Thanks and Best Regards,
>> Nandan Priyadarshi

Sorry for being brief. Alternate email is rickleir at yahoo dot com 
  • Unnamed multipart/alternative (inline, 7-Bit, 0 bytes)
View raw message