lucene-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Yonik Seeley <yo...@lucidimagination.com>
Subject Re: Compile failure in 2.9.1 Highlighter
Date Tue, 20 Oct 2009 14:18:48 GMT
Not sure... but could it just be that you are relying on autoboxing,
which is a Java5 feature, and the core is still marked for Java1.4
syntax?

-Yonik
http://www.lucidimagination.com



On Tue, Oct 20, 2009 at 10:02 AM, Mark Miller <markrmiller@gmail.com> wrote:
> Can someone help me figure this out. The Highlighter test runs and
> passes for me in Eclipse. It obviously compiles too.
>
> But when I try and compile with the ant build scripts, I get:
>
>    [javac]
> /home/mark/workspace/lucene_2_9/contrib/highlighter/src/test/org/apache/lucene/search/highlight/HighlighterTest.java:266:
> cannot find symbol
>    [javac] symbol  : method
> newIntRange(java.lang.String,int,int,boolean,boolean)
>    [javac] location: class org.apache.lucene.search.NumericRangeQuery
>    [javac]     query =
> NumericRangeQuery.newIntRange(NUMERIC_FIELD_NAME, 2, 6, true, true);
>
> But that method appears to exist - I'm momentarily at a loss - someone
> see the issue?
>
> --
> - Mark
>
> http://www.lucidimagination.com
>
>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: java-dev-unsubscribe@lucene.apache.org
> For additional commands, e-mail: java-dev-help@lucene.apache.org
>
>

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


Mime
View raw message