Knowledgebase
SOLR Search
SOLR Search
SOLR is using tomcat. To restart (needed when configuration change):
/etc/init.d/tomcat6 stop
/etc/init.d/tomcat6 start
tomcat log: /opt/tomcat/logs/catalina.log
solr configuration files:
/opt/solr/conf/schema.xml
/opt/solr/conf/solrconfig.xml
admin site: http://mag-web-prod1:8080/solr/admin
filters are defined in: schema.xml
solr.NGramFilterFactory - splits words into chunks, for example "12345" -> "123", "234", "345", "1234", "2345", "12345"
solr.WordDelimiterFilterFactory splits words into chunks if finds dash, change from numeric to alpha, lower case to upper, etc.
documentation on filters: http://wiki.apache.org/solr/AnalyzersTokenizersTokenFilters#TokenFilterFactories
current text field filters (schema.xml)
enablePositionIncrements="true"/>
catenateWords="1" catenateNumbers="1" catenateAll="0" splitOnCaseChange="1"/>
enablePositionIncrements="true"/>
catenateWords="0" catenateNumbers="0" catenateAll="0" splitOnCaseChange="0"/>
to add partial search for UPC and MFG Part NO: new type was added (it is using Keyword Tokenizer and NGram Filter
and the fields were to assigned to it:
solrconfig.xml modification: attr_mfr_part_no_en and attr_sku_upc_en were added to magento_en request handler:
fulltext_1_en^1.0 fulltext_2_en^2.0 fulltext_3_en^3.0 fulltext_4_en^4.0 fulltext_5_en^5.0 attr_mfr_part_no_en^1.0 attr_sku_upc_en^1.0
fulltext_1_en^1.0 fulltext_2_en^2.0 fulltext_3_en^3.0 fulltext_4_en^4.0 fulltext_5_en^5.0 attr_mfr_part_no_en^1.0 attr_sku_upc_en^1.0
1
1
dismax
explicit
false
false
1
spellcheck
SOLR is using tomcat. To restart (needed when configuration change):
/etc/init.d/tomcat6 stop
/etc/init.d/tomcat6 start
tomcat log: /opt/tomcat/logs/catalina.log
solr configuration files:
/opt/solr/conf/schema.xml
/opt/solr/conf/solrconfig.xml
admin site: http://mag-web-prod1:8080/solr/admin
filters are defined in: schema.xml
solr.NGramFilterFactory - splits words into chunks, for example "12345" -> "123", "234", "345", "1234", "2345", "12345"
solr.WordDelimiterFilterFactory splits words into chunks if finds dash, change from numeric to alpha, lower case to upper, etc.
documentation on filters: http://wiki.apache.org/solr/AnalyzersTokenizersTokenFilters#TokenFilterFactories
current text field filters (schema.xml)
to add partial search for UPC and MFG Part NO: new type was added (it is using Keyword Tokenizer and NGram Filter
and the fields were to assigned to it:
solrconfig.xml modification: attr_mfr_part_no_en and attr_sku_upc_en were added to magento_en request handler:
Post Date: 2015-01-30 13:11:12 · Tags: Knowledgebase,