We have to prepare new search functionality in our online store. I was wondering that we can use Solr. But I have some doubts about it. Every single product in our offer is parameterized. Actually a product is a bunch of parameters. It has a symbol, another symbol, producer, param, param, param. Everything we have about our products are their parameters. Some parameters are single value, some of them are multivalue.
Is it possible to index our products database and let our users filter by products parameters? This is very important for us, because our customers have already got used to search with advanced filtering. What about indexing these parameters in multiple languages?
Thanks for help!
Oh, and one more thing, can Solr use only part of a word for search? For example i have a product with symbom ABCDEFG. What if search ABC or DEFG? Can Solr handle such search?
Are you talking about solr facet? solr has a pretty good facet implementation. check this out:
http://wiki.apache.org/solr/SolrFacetingOverview .
For your second question, solr cannot handle that. You have to write your own lucene analyzer to split the word into parts during indexing. You can config your own analyzer in solr schema.xml. You need to check out what is a lucene analyzer first. It is not difficult to implement a analyzer. Try using trie or java treeset. Or you can find some robust analyzer implementation on google.