Re: Multiple indexes

2007-11-08 Thread John Reuning
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

Re: MultiCore unregister

2007-11-07 Thread John Reuning
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.

MultiCore unregister

2007-11-07 Thread John Reuning
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.

Re: GET_SCORES flag in SolrIndexSearcher

2007-10-19 Thread John Reuning
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

Re: GET_SCORES flag in SolrIndexSearcher

2007-10-19 Thread John Reuning
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... }

Re: GET_SCORES flag in SolrIndexSearcher

2007-10-19 Thread John Reuning
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

GET_SCORES flag in SolrIndexSearcher

2007-10-17 Thread John Reuning
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

Real-time replication

2007-10-04 Thread John Reuning
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