This content has been marked as final. Show 6 replies
Can you let me know Is the Lucene same as SOLRIt is probably a question to another forum. Check: http://lucene.apache.org/core/ (there is no forum, but a mailing list). It states: "Apache Lucene, Apache Solr, Apache PyLucene, Apache Open Relevance Project and their respective logos are trademarks of The Apache Software Foundation." I read it that Lucene and Solr are different product from the same family. As Lucene is "Apache LuceneTM is a high-performance, full-featured text search engine library written entirely in Java. It is a technology suitable for nearly any application that requires full-text search, especially cross-platform." and Solr ( from http://lucene.apache.org/solr/ ) "SolrTM is the popular, blazing fast open source enterprise search platform from the Apache LuceneTM project." I believe that Solr adds some stand-alone functionality to Lucene library. With Sites (searching for Sites' content from Sites' pages using OOTB Sites' assets) you should be OK with the library only. If you want federated services, or just want to use a separate enterprise search server you should use also Solr - but my guess is that it uses Lucene's functions, so the integration will be seamless. I'd ask experts in the Lucene's mailing list. Maybe you'll also find some info in the documentation.
Hi Jiri ,
I have to integrate Solr Search functionality for my WebCenter Sites which fetches the results from the sites data. Can you please let me know any approach we have to go with . as i am facing many issues while trying to integrate .
I tried to deploy the Solr.war File in the same weblogic server and tried to access it and it worked fine . but I was stuck up after that now knowing how to do it . Could you please guide me in this.
Well for starters, this is not a small task. You need to figure out a strategy for several things:
1. Indexing content from WebCenter Sites in SOLR
2. Running queries for display on OWCS pages.
3. Properly caching SOLR-based content
4. Figure out how to organize the SOLR schema.
We're using the SolrJ on our current project and it works pretty well, although there is little to no documentation & tutorials beyond a few Stack Overflow discussions and the undocumented javadoc pages like this:
For me, IMHO, the strategy was two-fold:
1. Figure out how SOLR works first -- so play around with queries in the SOLR query UI, Google a lot for examples of how various types of queries work at the SOLR-level
2. Then play around with the SolrJ libraries and figure out how to do those same queries using SolrJ.
It's not the easiest integration, but I guess that depends on your experience level and how you're going to use SOLR in your website. For one thing, integrating plain old string-type facet filters was pretty easy, but adding date range facets took a lot more research and practice (the first time at least).
Somen De | Sr. Consultant