我已经将AEM与远程Solr集成为'Solr as an Oak index‘,当运行Solr查询时,我可以看到我所有的内容都被索引并显示到远程solr中。
但是,当我在AEM中为某些搜索应用程序运行一些特定于AEM的jcr查询时,在AEM日志中,我可以看到通过solr获取内容的请求,但结果为空。在Solr日志中,堆栈跟踪如下:
2019-02-26 13:09:56.093 ERROR (qtp1514322932-145) [ x:oak] o.a.s.h.RequestHandlerBase org.apache.solr.common.SolrException: undefi
我正在尝试将Apache2设置为solr的反向代理。Apache和Solr在同一台机器上。Apache也作为常规web服务器提供其他服务。
/etc/apache2/config.d/中的solsearch文件
# Proxy specific settings
ProxyRequests Off
ProxyPreserveHost Off
<Proxy *>
AddDefaultCharset off
Order deny,allow
Allow from all
</Proxy>
ProxyPass /solrsearch http://
我熟悉了Apache和Solr的爬行,但是我意识到,虽然在Solr查询中有HTTP和HTTPS链接,但content字段中的磁铁链接却是不可用的。我调整了conf/regex-urlfilter.txt
-^(file|ftp|mailto):
# skip image and other suffixes we can't yet parse
# for a more extensive coverage use the urlfilter-suffix plugin
-\.(gif|GIF|jpg|JPG|png|PNG|ico|ICO|css|CSS|sit|SIT|eps|E
在尝试为包含text_general字段的文档编制索引时,我收到以下错误: Exception writing document id 93cf6aeb-54b0-471a-9325-5b8e95801131 to the index; possible analysis error: cannot change field "content" from index options=DOCS to inconsistent index options=DOCS_AND_FREQS_AND_POSITIONS 我尝试索引的文档如下所示: {
"filename&
我注意到Solr4.0有一个联接函数,我想使用它来连接子文档。
有点像
<book>
<bookid>1</bookid>
<Title>This book is epic</title>
</book>
<page>
<bookid>1</bookid>
<number>1</number>
<pagecontent>this is the first page of the epic book</pagecontent>
</p
何时更新Solr模式并保留现有索引是安全的?
我现在正在将Solr升级到7.2版,旧模式中的某些类型定义在日志中生成警告,如下所示:
Solr loaded a deprecated plugin/analysis class [solr.CurrencyField]. Please consult documentation how to replace it accordingly.
将此类型定义更新为新的solr.CurrencyFieldType并保留现有索引是否安全:
当类型不是用于文档属性的架构中的时。
当类型在文档属性的架构中使用时。
通常,哪些模式更改肯定需要文
当我在solr(独立的db)上执行这个查询时,它就可以工作了。但是当我通过Solr查询(我使用的是DSE)访问cassandra数据时,它什么也不返回。并且它给出了一些与错误相关的UserCacheField。那么如何在solr查询中启用UserCacheField呢?
更新我的查询是
select * FROM trackfleet_db.location WHERE
solr_query='{"facet":{"pivot":"date,latitude,longitude"},"q":":"}&
我在Solr 7.5安装中收到了一些反对意见的警告:
[ WARN] 16:38:36 Solr loaded a deprecated plugin/analysis class [solr.TrieIntField]. Please consult documentation how to replace it accordingly. []
[ WARN] 16:38:36 Solr loaded a deprecated plugin/analysis class [solr.TrieFloatField]. Please consult documentation how to
我们使用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.