Hi!
I am very excited to announce the availability of an integrated Apache
Solr 4.0 with Realtime NRT download:
http://solr-ra.tgels.org/realtime-nrt.jsp
Realtime NRT has been contributed back to Solr, see JIRA:
https://issues.apache.org/jira/browse/SOLR-3816
Here is more info about Realtime NRT:
Lucene/Solr search and commit architecture is designed to work off a
"point-in-time snapshots" of the index. Any add/update/delete needs a
commit to be visible to searches (or atleast a soft-commit). soft-commit
re-opens the SolrIndexSearcher object and can be a performance
limitation if the soft-commits happen more than one per second, see
blog:http://searchhub.org/dev/2011/09/07/realtime-get/. Realtime NRT
makes available a near realtime view of the index. So any changes made
to the index is immediately visible. Performance is not a limitation as
it does not close the SolrIndexSearcher object as with soft-commit.
Realtime NRT is also different from realtime-get which is a simple
lookup by id and needs the transaction log to be enabled. realtime-get
does not have search capability. Realtime NRT allows full search, so you
could search by id, text, location, etc. using boolean, dismax,
faceting, range queries ie. no change to existing functionality. No new
request handlers to be defined in solrconfig.xml. So all of your
existing queries work as it is with no changes, except that the results
returned are in near real time. Realtime NRT also does not need the
transaction update log needed by realtime-get. So you can turn this off
for improved performance. autoCommit freq can also be increased to an
hour from the default of 15 secs for improved performance (remember
commits can slow down your performance)
Regards,
Nagendra Nagarajayya
http://solr-ra.tgels.org
http://rankingalgorithm.tgels.org