I've had good luck with MultiCore, but you have to sync trunk from svn
and apply the most recent patch in SOLR-350.
https://issues.apache.org/jira/browse/SOLR-350
-jrr
Jae Joo wrote:
Hi,
I am looking for the way to utilize the multiple indexes for signle sole
instance.
I saw that there is th
ut check:
https://issues.apache.org/jira/browse/SOLR-350
ryan
John Reuning wrote:
For the MultiCore experts, is there an acceptable or approved way to
close and unregister a single SolrCore? I'm interested in stopping
cores, manipulating the solr directory tree, and reregistering them.
Thanks,
-John R.
For the MultiCore experts, is there an acceptable or approved way to
close and unregister a single SolrCore? I'm interested in stopping
cores, manipulating the solr directory tree, and reregistering them.
Thanks,
-John R.
Ah ha, perfect. That worked brilliantly. In case anyone is interested,
it turns out that defining "id score" as the field list for the standard
request handler in solrconfig.xml does the same thing.
explicit
id score
Thanks for the help
So, I found the following in QueryParsing::parseSort
if( "score".equals(part) ) {
if (top) {
// If thre is only one thing in the list, just do the regular
thing...
if( parts.length == 1 ) {
return null; // do normal scoring...
}
My first pass was to implement the embedded solr example:
--
MultiCore mc = MultiCore.getRegistry();
SolrCore core = mc.getCore(mIndexName);
SolrRequestHandler handler = core.getRequestHandler("");
HashMap params = new HashMap();
SolrQueryRequest request = new LocalSolrQueryRequest(core
The scores list in DocIterator is null after a successful query.
There's a flag in SolrIndexSearcher, GET_SCORES, that looks like it
should trigger setting the scores array for the resulting DocList, but I
can't figure out how to set it. Any suggestions? I'm using the svn
trunk code.
Many t
Apologies if this has been covered. I searched the archives and didn't
see a thread on this topic.
Has anyone experimented with a near real-time replication scheme similar
to RDBMS replication? There's large efficiency in using rsync to copy
the lucene index files to slaves, but what if you