我们使用solr4.3与主/从设置,今天我得到以下错误和solr停止响应。是什么导致了这一切,
Caused by: org.apache.solr.common.SolrException: Index locked for write for core XXX
at org.apache.solr.core.SolrCore.<init>(SolrCore.java:821)
at org.apache.solr.core.SolrCore.<init>(SolrCore.java:618)
at org.apache.solr.core.
当我尝试数据端口时,我会收到以下错误:
无法加载驱动程序: sun.jdbc.odbc.JdbcOdbcDriver
这是日志:
Full Import failed:java.lang.RuntimeException: java.lang.RuntimeException: org.apache.solr.handler.dataimport.DataImportHandlerException: Could not load driver: sun.jdbc.odbc.JdbcOdbcDriver Processing Document # 1
at org.apache
我的solr配置中出现了下面的错误。
Caused by: org.apache.solr.common.SolrException: Unable to use updateLog: _version_field must exist in schema, using indexed="true" stored="true" and multiValued="false" (_version_ does not exist)
at org.apache.solr.core.SolrCore.<init>(SolrCo
我正在使用SOLR索引,当我尝试向数据库中插入一行时,我得到了以下错误,
谁能告诉我为什么会出现这个错误,以及如何修复它?
错误:-
[qtp191908836-19] ERROR org.apache.solr.core.SolrCore – java.io.IOException: cannot uncache file="_t0_Lucene41_0.pos": it was separately also created in the delegate directory
at org.apache.lucene.store.NRTCachingDir
我偶然发现了这个奇怪的问题。
在我的dataconfig文件中,我有一个根实体和15个其他子实体。如果我尝试执行完全导入,则会发生以下错误。
错误日志:
Caused by: org.apache.solr.handler.dataimport.DataImportHandlerException: Unable to execute query: select fruitName from fruits where id = '2' Processing Document # 1
at org.apache.solr.handler.dataimpo
我有sunspot_mongo宝石的solr。当我尝试运行太阳黑子:mongo:reindex时,我得到了以下错误:
reindexing House
rake aborted!
RSolr::Error::Http - 500 Internal Server Error
Error: java.io.FileNotFoundException: no segments* file found in org.apache.lucene.store.NIOFSDirectory@/home/ubuntu/Desktop/PROJECT/solr/data/development/index: f
我自己编写代码来索引一些数据文件。这一切都很有效。一旦我修改了schema.xml文件,现在我得到了内部服务器错误,我不知道如何解释它。
Internal Server Error
request: http://127.0.0.1:8080/solr/update?wt=javabin&version=2
at org.apache.solr.client.solrj.impl.CommonsHttpSolrServer.request(CommonsHttpSolrServer.java:427)
at org.apache.solr.client.solrj.i
我的solr上周构建得很好,但突然之间,构建失败了,出现了以下问题:
[ivy:retrieve] Entry is found in the ModuleDescriptorCache : .ivy2/cache/org.apache.derby/derby/ivy-10.9.1.0.xml
[ivy:retrieve] found ivy file in cache for org.apache.derby#derby;10.9.1.0 (resolved by public): .ivy2/cache/org.apache.derby/derby/ivy-10.9.1.0.xml
[i
我正在尝试运行solr(5.2.1),使用;
$ bin/solr start -e cloud -noprompt
但我得到了
Welcome to the SolrCloud example!
Starting up 2 Solr nodes for your example SolrCloud cluster.
Starting up SolrCloud node1 on port 8983 using command:
solr start -cloud -s example/cloud/node1/solr -p 8983 -m 512m
Waiting to see
org.apache.solr.common.SolrException: There is conflicting information about the leader of shard: shard2 our state says:http://xxxxx:9003/solr/collectionname_shard2_replica1/ but zookeeper says:http://xxxxxx:9006/solr/collectionname_shard2_replica1/
at org.apache.solr.cloud.ZkController.getLeader(Zk
我正在开发一个MVC应用程序,使用SolrNet (0.4.0.2002版)实现Solr (最新版本solr-4.10.3)。我是Solr/SolrNet的新手,在实践中使用教程。在使用SolrNet.dll将数据库表数据索引为索引时,会出现以下错误。
An exception of type 'SolrNet.Exceptions.SolrConnectionException' occurred in SolrNet.dll but was not handled in user code
Additional information: <?xml version=
目前,我在结合使用Solr 4.1和Lucene 4.1时遇到了以下问题。
我有一个这样的Solr-Bean:
import org.apache.solr.client.solrj.beans.Field;
public final class Bean {
@Field
private int someInt;
@Field
private String someString;
//Fields like this are just being updated for easier use of the bean
private List
我正面临着磁盘空间问题。当我检查这个问题时,有大约210 so的删除文件。所以为了清除,我重新启动了tomcat进程。但在重启tomcat之后。solr无法创建collection1。下面是日志。
SEVERE: org.apache.solr.common.SolrException: java.io.IOException: No space left on device
at org.apache.solr.update.TransactionLog.finish(TransactionLog.java:528)
at org.apache.sol
我有一个运行在WSO2 Linux 7上的CentOS EI 6.1.1实例,每当我部署任何类型的工件时,它都会突然在日志上显示一个CorruptIndexException: file mismatch错误。WSO2实例运行得很好,部署也完成了,但是索引出现了一些问题。服务器几天前就从内存中崩溃了,所以这可能是相关的。
这是唯一的例外:
An error occurred while submitting the resource for indexing, path: /_system/config/repository/axis2/service-groups/CES/services/
我试图让solr索引启动并运行,但现在我被卡住了。我猜SolrDispatchFilter出了点问题,但是是什么呢?我唯一的例外来自catalina.out:
22676 [http-bio-9090-exec-1] ERROR org.apache.solr.servlet.SolrDispatchFilter - null:org.apache.solr.common.SolrException: SolrCore 'people' is not available due to init failure: Error opening new searcher
at org
我使用DSE 3.2.0。当我尝试在Solr中索引一个DateType列(系统区域设置为GMT+3)时,我会得到以下SOLR异常:
org.apache.solr.common.SolrException: org.apache.solr.common.SolrException: Invalid Date String:'2013-10-10 23:59:59+0300'
at com.datastax.bdp.cassandra.index.solr.CassandraDirectUpdateHandler2.deleteByQuery(CassandraDirectUpd
突然,我的Solr服务器停止工作,出现了此错误。请有人告诉我该怎么做。
HTTP错误500
访问/solr/wksolr的问题。原因:
Severe errors in solr configuration.
查看您的日志文件,以获得更多关于可能出错的详细信息。
如果希望solr在配置错误后继续,请更改:
错误
在solr.xml中
java.lang.RuntimeException:在类路径或‘solr/-h/conf/’中找不到资源'solrconfig.xml‘,/opt/wk-solr at org.apache.solr.core.SolrResourceLoader.o
我在执行java.lang.VerifyError: Cannot inherit from final class时得到一个HttpSolrClient solr = new HttpSolrClient("http://localhost:8983/solr/mycore");异常
我在Java1.7中使用了SolrJ 5.5.0。除此之外,我使用Commons-httpClient3.1。这是我得到的详细错误:
Handler processing failed; nested exception is java.lang.VerifyError: org/apa
当我试图在字段中插入记录时,在升级到Solr6.5后收到此错误。
全错误:
2017-06-05 02:57:40,685 ERROR
[org.apache.solr.client.solrj.impl.CloudSolrClient] - Request to collection
<collection> failed due to (400)
org.apache.solr.client.solrj.impl.HttpSolrClient$RemoteSolrException: Error
from server at http://<host>:898
当我尝试访问localhost:8983/solr时,它会显示以下错误。
HTTP错误500
Problem accessing /solr/admin. Reason:
{msg=SolrCore 'collection1' is not available due to init failure: Could not load config file /home/ahmad/solr-4.6.0/example/solr/collection1/solrconfig.xml,trace=org.apache.solr.common.SolrException: S