You are viewing a plain text version of this content. The canonical link for it is here.
Posted to solr-user@lucene.apache.org by John <jo...@gmail.com> on 2011/11/10 15:37:59 UTC
Locating index files?
Please forgive my lack of knowledge; I'm posting for the first time!
I'm using solrindex to index and it appears all is going OK in that I'm
receiving the following for each segment:
2011-10-30 20:18:06,870 INFO solr.SolrIndexer - SolrIndexer: starting
2011-10-30 20:18:06,993 INFO indexer.IndexerMapReduce - IndexerMapReduce:
crawldb: crawl/crawldb
2011-10-30 20:18:06,993 INFO indexer.IndexerMapReduce - IndexerMapReduce:
linkdb: crawl/linkdb
2011-10-30 20:18:06,993 INFO indexer.IndexerMapReduce - IndexerMapReduces:
adding segment: crawl/segments/...
2011-10-30 20:20:38,933 INFO solr.SolrIndexer - SolrIndexer: done
However, I don't see the index files in the Solr data directory. Any
suggestions for troubleshooting this? Thanks!
--
View this message in context: http://lucene.472066.n3.nabble.com/Locating-index-files-tp3496865p3496865.html
Sent from the Solr - User mailing list archive at Nabble.com.
Re: Locating index files?
Posted by John <jo...@gmail.com>.
I failed to mention that the segments* files were indeed created; it is the
other files that are missing.
--
View this message in context: http://lucene.472066.n3.nabble.com/Locating-index-files-tp3496865p3498692.html
Sent from the Solr - User mailing list archive at Nabble.com.
Re: Locating index files?
Posted by John <jo...@gmail.com>.
solar.data.dir is set, but the files aren't in that location. I've checked
the logs, and I don't see any errors. Obviously something is wrong, but I
can't find any indications as to what. Anyone have suggestions?
--
View this message in context: http://lucene.472066.n3.nabble.com/Locating-index-files-tp3496865p3498682.html
Sent from the Solr - User mailing list archive at Nabble.com.
Re: Locating index files?
Posted by Alireza Salimi <al...@gmail.com>.
if (solr.data.dir system property is set) {
the index files will be there.
} else {
they are at ${solr.solr.home}/data directory
}
I hope it helps.
On Thu, Nov 10, 2011 at 9:37 AM, John <jo...@gmail.com> wrote:
> Please forgive my lack of knowledge; I'm posting for the first time!
>
> I'm using solrindex to index and it appears all is going OK in that I'm
> receiving the following for each segment:
> 2011-10-30 20:18:06,870 INFO solr.SolrIndexer - SolrIndexer: starting
> 2011-10-30 20:18:06,993 INFO indexer.IndexerMapReduce - IndexerMapReduce:
> crawldb: crawl/crawldb
> 2011-10-30 20:18:06,993 INFO indexer.IndexerMapReduce - IndexerMapReduce:
> linkdb: crawl/linkdb
> 2011-10-30 20:18:06,993 INFO indexer.IndexerMapReduce - IndexerMapReduces:
> adding segment: crawl/segments/...
> 2011-10-30 20:20:38,933 INFO solr.SolrIndexer - SolrIndexer: done
>
> However, I don't see the index files in the Solr data directory. Any
> suggestions for troubleshooting this? Thanks!
>
> --
> View this message in context:
> http://lucene.472066.n3.nabble.com/Locating-index-files-tp3496865p3496865.html
> Sent from the Solr - User mailing list archive at Nabble.com.
>
--
Alireza Salimi
Java EE Developer
Re: Locating index files?
Posted by John <jo...@gmail.com>.
Yes, it's a Nutch class that provides integration with Solr and in doing so,
should place the files where Solr expects them based on the Solr config
file. Based on the use of Solr and its configuration, I placed the post
here. The issue is resolved.
--
View this message in context: http://lucene.472066.n3.nabble.com/Locating-index-files-tp3496865p3511061.html
Sent from the Solr - User mailing list archive at Nabble.com.
Re: Locating index files?
Posted by Chris Hostetter <ho...@fucit.org>.
FWIW: Based on your log description, it wounds like you are using some
extenal index builder named "solrindex" ... the details on
what exactly this "solrindex" app is are kind of crucial to understanding
what/where "solrindex" is doing and where it's putting your data.
"solrindex" is not the name of any application that ships with Apache
Solr, nor is there any class in Apache Solr named "IndexerMapReduce" ...
so i supsect these are coming from some other project, and you may want to
consult the documentaion/mailing list for that project to understand what
it's doing.
A Quick google search suggests it's a Nutch class...
https://nutch.apache.org/mailing_lists.html
: Please forgive my lack of knowledge; I'm posting for the first time!
:
: I'm using solrindex to index and it appears all is going OK in that I'm
: receiving the following for each segment:
: 2011-10-30 20:18:06,870 INFO solr.SolrIndexer - SolrIndexer: starting
: 2011-10-30 20:18:06,993 INFO indexer.IndexerMapReduce - IndexerMapReduce:
: crawldb: crawl/crawldb
: 2011-10-30 20:18:06,993 INFO indexer.IndexerMapReduce - IndexerMapReduce:
: linkdb: crawl/linkdb
: 2011-10-30 20:18:06,993 INFO indexer.IndexerMapReduce - IndexerMapReduces:
: adding segment: crawl/segments/...
: 2011-10-30 20:20:38,933 INFO solr.SolrIndexer - SolrIndexer: done
:
: However, I don't see the index files in the Solr data directory. Any
: suggestions for troubleshooting this? Thanks!
:
: --
: View this message in context: http://lucene.472066.n3.nabble.com/Locating-index-files-tp3496865p3496865.html
: Sent from the Solr - User mailing list archive at Nabble.com.
:
-Hoss