SOLR - To point multiple indexes in different folder
Hello Solr Gurus, I am newbie to solr application, below are my requirements: 1. We have 7 folders having indexed files, which SOLR application to be pointed. I understand shards feature can be used for searching. If there is any other alternative. Each folder has around 24 million documents. 2. We should configure solr for indexing new incoming data from database/SCV file, whtas is the required configuration in solr to achieve this? Any quick response on this will be appreciated. Thanks Regards, Ravi -- View this message in context: http://lucene.472066.n3.nabble.com/SOLR-To-point-multiple-indexes-in-different-folder-tp4016640.html Sent from the Solr - User mailing list archive at Nabble.com.
Re: SOLR - To point multiple indexes in different folder
Erick, Thanks for your response. All the 7 folders are of same schema, i mean document structure is same. I am not very sure how did customer get this data dump into different folders. Now we have configured Solr with multicore, each core pointing to each directory and using shards to get a single search response. Please suggest is this right approach. And now we should also configure solr for indexing new data from CSV file, i am not sure how to configure this? Regards, Ravi -- View this message in context: http://lucene.472066.n3.nabble.com/SOLR-To-point-multiple-indexes-in-different-folder-tp4016640p4016946.html Sent from the Solr - User mailing list archive at Nabble.com.
Re: SOLR - To point multiple indexes in different folder
Erick, We are forming request something like below for default /select request handler, will this cause an issue? So far we are not facing any recursive issues. http://94.101.147.150:8080/solr/select/?q=*%3A*&version=2.2&start=0&rows=10&indent=on&shards=localhost:8080/solr/coll1,localhost:8080/solr/coll2,localhost:8080/solr/coll3,localhost:8080/solr/coll4,localhost:8080/solr/coll5,localhost:8080/solr/coll6,localhost:8080/solr/coll7 Below is the solrconfig for /select explicit 10 recordid recordid - is the unique field in the document. Regards, Ravi -- View this message in context: http://lucene.472066.n3.nabble.com/SOLR-To-point-multiple-indexes-in-different-folder-tp4016640p4017783.html Sent from the Solr - User mailing list archive at Nabble.com.
SOLR - Search Issue
Hello Guys, We had a requirement to search existing lucene indexes and configure to indexing new data. 1. Installed apache-solr-3.6.1 and setup multicore for the existing indexes. 2. Solr is running on windows platform with tomcat 7 64 bit 3. Coll1 and Coll2 has old lucene index files and new indexing data will be stored in coll3 4.Now we are indexing data from CSV file thru curl curl http://localhost:8080/solr/update/csv -F "stream.file=D:\eighth.csv" -F "commit=true" -F "optimize=true" -F "encapsulate="" While searching all the cores with shards, the new core is not considered. - We have maintained same conf and schema across all cores http://94.101.147.150:8080/solr/select/?q=*%3A*&version=2.2&start=0&rows=10&indent=on&shards=localhost:8080/solr/coll1,localhost:8080/solr/coll2,localhost:8080/solr/coll3 We observe that there is difference in index format, got to know thru luke browser. Old Lucene Indexes: Index format -9 (Lucene 2.9) New Lucene Indexes: Index format -11(Lucene 3.1) 1. How can we make these 3 cores work together? 2. Is there any option to migrate the old Index format 2.9 to newer? This has been a show stopper for us, any help would be really appreciated. Regards, Ravi -- View this message in context: http://lucene.472066.n3.nabble.com/SOLR-Search-Issue-tp4019816.html Sent from the Solr - User mailing list archive at Nabble.com.
Re: SOLR - Search Issue
Thanks. Can be this done by Solr or should we write Java class? Regards, Ravi -- View this message in context: http://lucene.472066.n3.nabble.com/SOLR-Search-Issue-tp4019816p4019939.html Sent from the Solr - User mailing list archive at Nabble.com.