Solr integration in Magento Enterprise

2,004 views

Published on

Published in: Technology
0 Comments
0 Likes
Statistics
Notes
  • Be the first to comment

  • Be the first to like this

No Downloads
Views
Total views
2,004
On SlideShare
0
From Embeds
0
Number of Embeds
4
Actions
Shares
0
Downloads
8
Comments
0
Likes
0
Embeds 0
No embeds

No notes for slide

Solr integration in Magento Enterprise

  1. 1. wget http://archive.apache.org/dist/lucene/solr/3.6.2/apache-solr-3.6.2.tgztar -xvf apache-solr-3.6.2.tgzcd solr-install-dir/example/solr/confcp -R magento-install-dir/lib/Apache/Solr/conf/* .java -jar solr-install-dir/example/start.jar
  2. 2. <response> <lst name="responseHeader"> <int name="status">0</int> <int name="QTime">13</int> </lst> <lst name="index"> <int name="numDocs">27</int> <int name="maxDoc">27</int> <int name="numTerms">82</int> <long name="version">1359624631453</long> <int name="segmentCount">1</int> <bool name="current">true</bool> <bool name="hasDeletions">false</bool> <str name="directory">[…]</str> <date name="lastModified">2013-02-06T09:43:59.904Z</date> </lst> <lst name="fields"> <lst name="id"> <str name="type">string</str> <int name="distinct">27</int> …
  3. 3. { "responseHeader":{[...]}, "response":{ "numFound":1, "docs":[ {"id":"1168"} ] }}
  4. 4. <solr persistent="false"> <cores adminPath="/admin/cores"> <core name="shopfoo" instanceDir="cores/shopfoo"> <property name="dataDir" value="cores/shopfoo/data" /> </core> <core name="shopbar" instanceDir="cores/shopbar"> <property name="dataDir" value="cores/shopbar/data" /> </core> </cores></solr>

×