How to enable realtime search in Solr 4.0 - solr

I’m trying to enable realtime search in Solr 4.0 (So I can see new documents without committing).
I’ve added:
<realtime visible="0" facet="true">true</realtime>
But documents aren’t seen before commit (or softCommit).
Any help will be appreciated.
I believe this feature is only available in Solr RA but any information on how to achieve it will be great.
Thanks,
Avner

As far as my understanding this can't be done in Solr 4.0 but only in Solr-ra http://solr-ra.tgels.com
Solr 4.0 has the soft commit feature which helps with NRT search requirements.
It has a new feature which supports the get operation without commit by enabling logged update but without the search capabilities.

Related

What's recommended solution for search engine in TYPO3 CMS v8

I've a database with approximately 50k records and I've just migrated it to TYPO3 v8. I'm looking for some efficient search extension. What would you suggest?
Some time ago I've been using ke_search extension, but I've just tested it and it does not work at TYPO3 v8, it's not compatible. I need flexible solution, where I can easly create new filtering options in search formular. Due to this I don't consider native search extension indexed_search. I've heared about Apache Solr, but yet didn't have an occasion to integrate it for the needs of TYPO3 CMS. What are the possibilities?
In my opinion, Solr are the only option if ke_search doesn't work.
Use this extension - https://typo3.org/extensions/repository/view/solr - the manual is detailed and should help you with the settings.

Configure SOLR indexing with AEM 6.1

I am trying to configure SOLR indexing with AEM 6.1 but struggling with the following: -
What type of installation should be used for SOLR (embedded v/s
remote).
How to configure the selected installation with AEM 6.1.
How to determine whether the indexing has been successfully done.
Any help would be extremely appriciated.
I did lot of research on SOLR with AEM 6.0. I think I can answer to your question.
It depends on what are the requirements of the client. If the clients needs a quick search response and it have lot of content, you should prefer remove vs embedded. If the site has small content, the embedded could be sufficient. The remote permit to have a sharded cluster, so you can optimize the concurrent search response by adding more shared
The documentation of AEM is pretty well documented about this. You can find here: https://docs.adobe.com/docs/en/aem/6-1/deploy/platform/queries-and-indexing.html
Finally you can see the indexation well configured by enabling the logging configuration about the search (Look for to Enable Logging in the previous URL). You can test your search with tool in the ACS-Common with tools in ACS-Tools (http://adobe-consulting-services.github.io/acs-aem-tools/)
Hope this will help you.
Stéphane
I've stumbled upon these projects, as I searched for AEM Solr integration:
https://github.com/headwirecom/aem-solr-search
https://github.com/infielddesign/aem-id-solrindexer
Maybe it will help you with the Solr integration and configuration.
And as already mentioned above, the type of installation highly depends on your customer requirements.

Does SOLR support percolation

ElasticSearch has percolator for prospective search. Does SOLR have a similar feature where you define your query upfront? If not, is there an effective way of implementing this myself on top of the existing SOLR features?
besides what BunkerMentality said, it is not hard to build your own percolator, what you need:
Are the queries you want to run easy to model on Lucene only syntax? if so you are good, if not, you need to convert them to Lucene only. Built them, and keep them in memory as Lucene queries
When a doc arrives:
build a MemoryIndex containing only that single doc
run all your queries on the index
I have done this for a system ingesting millions docs a day and it worked fine.
It's listed as an open new feature, SOLR-4587, on Solr JIRA but it doesn't seem like any work has started on it yet.
There is a link in the comments there to a separate project called Luwak that seems to implement some features similar to percolator.
If it is still relevant, you can use this
It's SOLR Update Processor that based on Luwak

Solr instance for sitecore 7

I am trying to implement solr into sitecore but could not find any way for creating a Solr instance for the same. I have few PDFs from SDN I could find any way to create Solr instance in any. Considering that I am new to CMS I hope I could get some help here. Thank you
There are lots of resources available for setting up Solr, and integrating Sitecore.
Essentially Sitecore is ignorant with respects to how you setup Solr (barring a few exceptions), so you need to follow standard methods to set Solr up. If you are doing this on your local machine, then I recommend you simply download Solr and get it running through the provided Jetty App Server.
Once Solr is running, download the Solr Extensions from SDN, then follow the search scaling guide to integrate Solr. This really only boils down to the following;
Remove Lucene config files
Add Solr config files and binaries
Add Solr endpoint into relevant config
Generate Solr Schema via Sitecore -> Control Panel -> Search (within Sitecore)
Add Schema file to Solr Core configuration
et voila
There is a great guide here: http://www.dansolovay.com/2013/05/setting-up-solr-with-sitecore-7.html

How to soft-commit in Sunspot (Solr 4)?

Sunspot.commit will do hard-commit. How can I issue a soft-commit command against the Solr 4 server?
Soft commits are less expensive and they make use of the NRT feature of Solr 4.
I couldn't find soft commits feature in sunspot. I have added this functionality and created a pull request against the sunspot main repository.

Resources