Which elements did you comment out? It could be the case that you need
to get rid of the entire fieldCollapsing element, not just the
fieldCollapsingCache element.
(Disclaimer: I've not used field collapsing in anger before :)
Toby.
On 22 Dec 2009, at 11:09, r...@intelcompute.com wrote:
That's what I assumed, but I'm getting the following error with it
commented out....
MESSAGE null java.lang.NullPointerException at
org
.apache
.solr
.search
.fieldcollapse
.AbstractDocumentCollapser
.createDocumentCollapseResult(AbstractDocumentCollapser.java:276)
at
org
.apache
.solr
.search
.fieldcollapse
.AbstractDocumentCollapser
.executeCollapse(AbstractDocumentCollapser.java:249)
at
org
.apache
.solr
.search
.fieldcollapse
.AbstractDocumentCollapser.collapse(AbstractDocumentCollapser.java:
172)
at
org
.apache
.solr
.handler
.component.CollapseComponent.doProcess(CollapseComponent.java:173)
at
org
.apache
.solr
.handler.component.CollapseComponent.process(CollapseComponent.java:
127)
at
org
.apache
.solr
.handler
.component.SearchHandler.handleRequestBody(SearchHandler.java:195)
at
org
.apache
.solr
.handler.RequestHandlerBase.handleRequest(RequestHandlerBase.java:131)
at org.apache.solr.core.SolrCore.execute(SolrCore.java:1316) at
org
.apache
.solr.servlet.SolrDispatchFilter.execute(SolrDispatchFilter.java:336)
at
org
.apache
.solr.servlet.SolrDispatchFilter.doFilter(SolrDispatchFilter.java:239)
at
org
.apache
.catalina
.core
.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:
215)
at
org
.apache
.catalina
.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:188)
at
org
.apache
.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:
210)
at
org
.apache
.catalina.core.StandardContextValve.invoke(StandardContextValve.java:
172)
at
org
.apache
.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127)
at
org
.apache
.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:117)
at
org
.apache
.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:
108)
at
org
.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:
151)
at
org
.apache.coyote.http11.Http11Processor.process(Http11Processor.java:
870)
at
org.apache.coyote.http11.Http11BaseProtocol
$Http11ConnectionHandler.processConnection(Http11BaseProtocol.java:
665)
at
org
.apache
.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:
528)
at
org
.apache
.tomcat
.util
.net
.LeaderFollowerWorkerThread.runIt(LeaderFollowerWorkerThread.java:81)
at
org.apache.tomcat.util.threads.ThreadPool
$ControlRunnable.run(ThreadPool.java:685)
at java.lang.Thread.run(Thread.java:636)
On Tue 22/12/09 11:02 , Toby Cole wrote:If you take out the
fieldCollapsing/fieldCollapseCache element in your
config the fieldcollapse component will not use a cache.
From http://wiki.apache.org/solr/FieldCollapsing%23line-63 [1]"
target="_blank">http://wiki.apache.org/solr/FieldCollapsing#line-63
"If the field collapse cache is not configured then the field
collapse logic will not be cached."
Regards, Toby.
On 22 Dec 2009, at 10:56, wrote:
my
solconfig can be seen at http://www.intelcompute.com/solrconfig.xml
[3]" target="_blank">http://www.intelcompute.com/solrconfig.xml
[1]
On Tue 22/12/09 10:51 , wrote:Is
it possible to disable the field collapsing cache? I'm trying to
perform some speed tests, and have managed to comment out the
filter,
queryResult, and document caches successfully.
on 1.5
...
...
collapse
facet
tvComponent
...
-------------------------
Message sent via Atmail Open - http://atmail.org/ [5]"
target="_blank">http://atmail.org/ [2]"
target="_blank">http://atmail.org/ [6]"
target="_blank">http://atmail.org/
-------------------------
Message sent via Atmail Open - http://atmail.org/ [7]"
target="_blank">http://atmail.org/
Links:
------
[1] http://www.intelcompute.com/solrconfig.xml [8]"
target="_blank">http://www.intelcompute.com/solrconfig.xml
[2] http://mail.intelcompute.com/parse.php%3Fredirect%3D%26lt%3Ba
[9]"
target="_blank">http://mail.intelcompute.com/parse.php?redirect=http://blogs.semantico.com/discovery-blog/
-------------------------
Message sent via Atmail Open - http://atmail.org/
Links:
------
[1] http://mail.intelcompute.com/parse.php?redirect=<a href=
[3] http://mail.intelcompute.com/parse.php?redirect=<a href=
[5] http://mail.intelcompute.com/parse.php?redirect=<a href=
[6] http://mail.intelcompute.com/parse.php?redirect=<a href=
[7] http://mail.intelcompute.com/parse.php?redirect=<a href=
[8] http://mail.intelcompute.com/parse.php?redirect=<a href=
[9] http://mail.intelcompute.com/parse.php?redirect=<a href=
[10] http://mail.intelcompute.com/parse.php?redirect=<a href=
--
Toby Cole
Senior Software Engineer, Semantico Limited
<toby.c...@semantico.com> <tel:+44 1273 358 238>
Registered in England and Wales no. 03841410, VAT no. GB-744614334.
Registered office Lees House, 21-23 Dyke Road, Brighton BN1 3FE, UK.
Check out all our latest news and thinking on the Discovery blog
http://blogs.semantico.com/discovery-blog/