You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@lucene.apache.org by eksdev <ek...@googlemail.com> on 2012/11/02 13:10:54 UTC

java.lang.NoSuchMethodError: org.apache.lucene.search.Scorer.freq()

debugQuery=true on on simple TermQuery (/trunk version from yesterday) throws exception on explain()
It seams some of the scorers do not play nicely with explain()?

java.lang.NoSuchMethodError: org.apache.lucene.search.Scorer.freq()F\n\tat 
org.apache.lucene.search.TermQuery$TermWeight.explain(TermQuery.java:119)\n\tat 
org.apache.lucene.search.IndexSearcher.explain(IndexSearcher.java:636)\n\tat 
org.apache.lucene.search.IndexSearcher.explain(IndexSearcher.java:616)\n\tat 
org.apache.solr.search.SolrIndexSearcher.explain(SolrIndexSearcher.java:1949)\n\tat 
org.apache.solr.util.SolrPluginUtils.getExplanations(SolrPluginUtils.java:352)\n\tat 


Re: java.lang.NoSuchMethodError: org.apache.lucene.search.Scorer.freq()

Posted by Alan Woodward <al...@romseysoftware.co.uk>.
I got this a few days ago - running 'ant clean' before building cleared it up.

On 2 Nov 2012, at 12:10, eksdev wrote:

> debugQuery=true on on simple TermQuery (/trunk version from yesterday) throws exception on explain()
> It seams some of the scorers do not play nicely with explain()?
> 
> java.lang.NoSuchMethodError: org.apache.lucene.search.Scorer.freq()F\n\tat 
> org.apache.lucene.search.TermQuery$TermWeight.explain(TermQuery.java:119)\n\tat 
> org.apache.lucene.search.IndexSearcher.explain(IndexSearcher.java:636)\n\tat 
> org.apache.lucene.search.IndexSearcher.explain(IndexSearcher.java:616)\n\tat 
> org.apache.solr.search.SolrIndexSearcher.explain(SolrIndexSearcher.java:1949)\n\tat 
> org.apache.solr.util.SolrPluginUtils.getExplanations(SolrPluginUtils.java:352)\n\tat 
> 


Re: java.lang.NoSuchMethodError: org.apache.lucene.search.Scorer.freq()

Posted by Simon Willnauer <si...@gmail.com>.
no worries! :)

On Fri, Nov 2, 2012 at 1:47 PM, eksdev <ek...@googlemail.com> wrote:
> clean did it,
> never use eclipse if you want to know exactly what you did, command line works always
>
> sorry for the noise
>
> On Nov 2, 2012, at 1:15 PM, eksdev <ek...@googlemail.com> wrote:
>
>> I *think* I did. Will try to build again...
>>
>>
>> On Nov 2, 2012, at 1:12 PM, Simon Willnauer <si...@gmail.com> wrote:
>>
>>> did you clean your checkout?
>>>
>>> simon
>>>
>>> On Fri, Nov 2, 2012 at 1:10 PM, eksdev <ek...@googlemail.com> wrote:
>>>> debugQuery=true on on simple TermQuery (/trunk version from yesterday)
>>>> throws exception on explain()
>>>>
>>>> It seams some of the scorers do not play nicely with explain()?
>>>>
>>>>
>>>> java.lang.NoSuchMethodError: org.apache.lucene.search.Scorer.freq()F\n\tat
>>>>
>>>> org.apache.lucene.search.TermQuery$TermWeight.explain(TermQuery.java:119)\n\tat
>>>>
>>>> org.apache.lucene.search.IndexSearcher.explain(IndexSearcher.java:636)\n\tat
>>>>
>>>> org.apache.lucene.search.IndexSearcher.explain(IndexSearcher.java:616)\n\tat
>>>>
>>>> org.apache.solr.search.SolrIndexSearcher.explain(SolrIndexSearcher.java:1949)\n\tat
>>>>
>>>> org.apache.solr.util.SolrPluginUtils.getExplanations(SolrPluginUtils.java:352)\n\tat
>>>>
>>>>
>>>
>>> ---------------------------------------------------------------------
>>> To unsubscribe, e-mail: dev-unsubscribe@lucene.apache.org
>>> For additional commands, e-mail: dev-help@lucene.apache.org
>>>
>>
>

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@lucene.apache.org
For additional commands, e-mail: dev-help@lucene.apache.org


Re: java.lang.NoSuchMethodError: org.apache.lucene.search.Scorer.freq()

Posted by eksdev <ek...@googlemail.com>.
clean did it, 
never use eclipse if you want to know exactly what you did, command line works always

sorry for the noise

On Nov 2, 2012, at 1:15 PM, eksdev <ek...@googlemail.com> wrote:

> I *think* I did. Will try to build again...
> 
> 
> On Nov 2, 2012, at 1:12 PM, Simon Willnauer <si...@gmail.com> wrote:
> 
>> did you clean your checkout?
>> 
>> simon
>> 
>> On Fri, Nov 2, 2012 at 1:10 PM, eksdev <ek...@googlemail.com> wrote:
>>> debugQuery=true on on simple TermQuery (/trunk version from yesterday)
>>> throws exception on explain()
>>> 
>>> It seams some of the scorers do not play nicely with explain()?
>>> 
>>> 
>>> java.lang.NoSuchMethodError: org.apache.lucene.search.Scorer.freq()F\n\tat
>>> 
>>> org.apache.lucene.search.TermQuery$TermWeight.explain(TermQuery.java:119)\n\tat
>>> 
>>> org.apache.lucene.search.IndexSearcher.explain(IndexSearcher.java:636)\n\tat
>>> 
>>> org.apache.lucene.search.IndexSearcher.explain(IndexSearcher.java:616)\n\tat
>>> 
>>> org.apache.solr.search.SolrIndexSearcher.explain(SolrIndexSearcher.java:1949)\n\tat
>>> 
>>> org.apache.solr.util.SolrPluginUtils.getExplanations(SolrPluginUtils.java:352)\n\tat
>>> 
>>> 
>> 
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: dev-unsubscribe@lucene.apache.org
>> For additional commands, e-mail: dev-help@lucene.apache.org
>> 
> 


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@lucene.apache.org
For additional commands, e-mail: dev-help@lucene.apache.org


Re: java.lang.NoSuchMethodError: org.apache.lucene.search.Scorer.freq()

Posted by eksdev <ek...@googlemail.com>.
I *think* I did. Will try to build again...


On Nov 2, 2012, at 1:12 PM, Simon Willnauer <si...@gmail.com> wrote:

> did you clean your checkout?
> 
> simon
> 
> On Fri, Nov 2, 2012 at 1:10 PM, eksdev <ek...@googlemail.com> wrote:
>> debugQuery=true on on simple TermQuery (/trunk version from yesterday)
>> throws exception on explain()
>> 
>> It seams some of the scorers do not play nicely with explain()?
>> 
>> 
>> java.lang.NoSuchMethodError: org.apache.lucene.search.Scorer.freq()F\n\tat
>> 
>> org.apache.lucene.search.TermQuery$TermWeight.explain(TermQuery.java:119)\n\tat
>> 
>> org.apache.lucene.search.IndexSearcher.explain(IndexSearcher.java:636)\n\tat
>> 
>> org.apache.lucene.search.IndexSearcher.explain(IndexSearcher.java:616)\n\tat
>> 
>> org.apache.solr.search.SolrIndexSearcher.explain(SolrIndexSearcher.java:1949)\n\tat
>> 
>> org.apache.solr.util.SolrPluginUtils.getExplanations(SolrPluginUtils.java:352)\n\tat
>> 
>> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: dev-unsubscribe@lucene.apache.org
> For additional commands, e-mail: dev-help@lucene.apache.org
> 


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@lucene.apache.org
For additional commands, e-mail: dev-help@lucene.apache.org


Re: java.lang.NoSuchMethodError: org.apache.lucene.search.Scorer.freq()

Posted by Simon Willnauer <si...@gmail.com>.
did you clean your checkout?

simon

On Fri, Nov 2, 2012 at 1:10 PM, eksdev <ek...@googlemail.com> wrote:
> debugQuery=true on on simple TermQuery (/trunk version from yesterday)
> throws exception on explain()
>
> It seams some of the scorers do not play nicely with explain()?
>
>
> java.lang.NoSuchMethodError: org.apache.lucene.search.Scorer.freq()F\n\tat
>
> org.apache.lucene.search.TermQuery$TermWeight.explain(TermQuery.java:119)\n\tat
>
> org.apache.lucene.search.IndexSearcher.explain(IndexSearcher.java:636)\n\tat
>
> org.apache.lucene.search.IndexSearcher.explain(IndexSearcher.java:616)\n\tat
>
> org.apache.solr.search.SolrIndexSearcher.explain(SolrIndexSearcher.java:1949)\n\tat
>
> org.apache.solr.util.SolrPluginUtils.getExplanations(SolrPluginUtils.java:352)\n\tat
>
>

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@lucene.apache.org
For additional commands, e-mail: dev-help@lucene.apache.org