0

我想使用 solr 索引我的语料库。
要创建序列文件,我使用了以下命令:

./behemoth -i file://path/to/my/file/where/the corpus/is/located -o /user/user-name/file-to-which-the-putput-is-stored

在此之后,我给出了以下索引命令:
./behemoth solr /user/user-name/pTH-to-which-output-is-stored-in-previous-command http://localhost:8983/solr

但它给出了以下错误:

15/06/04 11:51:07 INFO mapreduce.Job: Job job_local183059797_0001 running in uber mode : false  
15/06/04 11:51:07 INFO mapreduce.Job:  map 0% reduce 0%  
15/06/04 11:51:08 INFO mapred.LocalJobRunner:   
15/06/04 11:51:08 INFO impl.ConcurrentUpdateSolrServer: Status for: file:///usr/local/ASR/data/Corpus/en_TheTelegraph_2001-2010/telegraph_2007-2010/telegraph_1st_oct_2007_to_31st_dec_2007/foreign/1071015_foreign_story_8435523.utf8 is 404  
15/06/04 11:51:08 ERROR impl.ConcurrentUpdateSolrServer: error
java.lang.Exception: Not Found  

我无法找出问题所在,因为上述文件存在于该路径上。请帮忙

4

1 回答 1

0

刚刚找到您的问题,最好在 DigitalPebble 邮件列表中提问或在 GitHub 上打开问题。

我认为问题与输入的内容无关。看起来更像是无法连接到 SOLR。

此外,您还导入了一个文档语料库,但在导入过程中没有提取任何文本或元数据。您应该首先在您的输入上运行 Tika 模块。

于 2015-07-03T12:13:41.390 回答