Here's the sorlconfig, with a few fields removed from the request (which
shouldn't make any difference)
http://www.intelcompute.com/solrconfig.xml
perhaps an old solrconfig to start with? tho it came no later than a 1.3
standard config file.
On Wed 23/12/09 21:33 , Martijn v Groningen wr
How have you configured field collapsing?
I have field collapsing configured without caching like this:
and with caching like this:
In both situations I don't get NPE. Also the line (in the patch) where
the exceptions occurs seems unlikely for a NPE.
if (fieldCollapseCache != null) {
Still seeing the same error when trying to comment out the fieldCollapsing
block, or even just the fieldCollapseCache block inside it to disable the cache.
fresh trunk and latest patch.
message null java.lang.NullPointerException at
org.apache.solr.search.fieldcollapse.AbstractDocumentCollap
Thanks, that latest update to the patch works fine now.
On Wed 23/12/09 13:13 , Martijn v Groningen wrote:
> Latest SOLR-236.patch is for the trunk, if have updated the latest
> patch so it should patch now without conflicts. If I remember
> correctly the latest field-collapse-5.patch should
Latest SOLR-236.patch is for the trunk, if have updated the latest
patch so it should patch now without conflicts. If I remember
correctly the latest field-collapse-5.patch should work for 1.4, but
it doesn't for the trunk.
2009/12/23 :
>
> Sorry, that was when trying to patch the 1.4 branch
>
>
Sorry, that was when trying to patch the 1.4 branch
attempting to patch the trunk gives...
patching file src/test/test-files/fieldcollapse/testResponse.xml
patching file src/test/org/apache/solr/BaseDistributedSearchTestCase.java
Hunk #2 FAILED at 502.
1 out of 2 hunks FAILED -- saving rejects t
I'm currently trying to patch aginst trunk, using SOLR-236.patch from
18/12/2009 but getting the following error...
[...@intelcompute solr]$ patch -p0 < SOLR-236.patch
patching file src/test/test-files/solr/conf/solrconfig-fieldcollapse.xml
patching file src/test/test-files/solr/conf/schema-fi
To avoid this possible bug, you could change the cache to only have a
few entries.
On Tue, Dec 22, 2009 at 6:34 AM, Martijn v Groningen
wrote:
> In the latest patch some changes where made on the configuration side,
> but if you add the CollapseComponent to the conf no field collapse
> cache shou
In the latest patch some changes where made on the configuration side,
but if you add the CollapseComponent to the conf no field collapse
cache should be enabled. If not let me know.
Martijn
2009/12/22 :
>
>
>
>
>
> On Tue 22/12/09 12:28 , Martijn v Groningen wrote:
>
>> Hi Rob,
>> What patch a
On Tue 22/12/09 12:28 , Martijn v Groningen wrote:
> Hi Rob,
> What patch are you actually using from SOLR-236?
> Martijn
> 2009/12/22 :
> > I've tried both, the whole fieldCollapsing tag, and just the
> > fieldCollapseCache tag inside it.
> >both cause error.
> >I guess I c
actually i got field-collapse-5.patch, what's the diff?
On Tue 22/12/09 12:28 , Martijn v Groningen wrote:
> Hi Rob,
> What patch are you actually using from SOLR-236?
> Martijn
> 2009/12/22 :
> > I've tried both, the whole fieldCollapsing tag, and just the
> > fieldCollapseCache tag inside
Yup, that's the one, with a copy of trunk from last week.
On Tue 22/12/09 12:28 , Martijn v Groningen wrote:
> Hi Rob,
> What patch are you actually using from SOLR-236?
> Martijn
> 2009/12/22 :
> > I've tried both, the whole fieldCollapsing tag, and just the
> > fieldCollapseCache tag insid
Hi Rob,
What patch are you actually using from SOLR-236?
Martijn
2009/12/22 :
> I've tried both, the whole fieldCollapsing tag, and just the
> fieldCollapseCache tag inside it.
> both cause error.
> I guess I can just set size, initialSize, and autowarmCount to 0 ??
> On Tue 22/12
I've tried both, the whole fieldCollapsing tag, and just the
fieldCollapseCache tag inside it.
both cause error.
I guess I can just set size, initialSize, and autowarmCount to 0 ??
On Tue 22/12/09 11:17 , Toby Cole wrote:Which elements did you
comment out? It could be the case that
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:
Tha
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.fiel
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#line-63
"If the field collapse cache is not configured then the field
collapse logic will not be cached."
Regard
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
...
my
solconfig can be seen at http://www.intelcompute.com/solrconfig.xml
[1]
On Tue 22/12/09 10:51 , r...@intelcompute.com 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
19 matches
Mail list logo