I have understood how to add xml files to SOLR and be able to search them via the SOLR ADMIN interface...
I need to know however, how to make SOLR work with PHP, and index MYSQL records...
This is what I want to do:
I have a mysql table
, which I would like to add to SOLR
(index it), so that instead of searching the MYSQL table directly via PHP
, I first take the querystring
, send it to SOLR, and then SOLR sends back results in form of ID:nrs
, then use the ID:s to query mysql and fetch proper records...
I have no clue on how to communicate with SOLR using PHP, any help is appreciated!
Thanks