+1 for a static method to get the appropriate value of Version.
--
Ian.
On Sun, Sep 19, 2010 at 11:21 PM, Bill Janssen wrote:
> Simon Willnauer wrote:
>
>> On Fri, Sep 17, 2010 at 11:45 PM, Bill Janssen wrote:
>> > Simon Willnauer wrote:
>> >
>> >> On Fri, Sep 17, 2010 at 8:14 PM, Bill Jans
Simon Willnauer wrote:
> On Fri, Sep 17, 2010 at 11:45 PM, Bill Janssen wrote:
> > Simon Willnauer wrote:
> >
> >> On Fri, Sep 17, 2010 at 8:14 PM, Bill Janssen wrote:
> >> > Simon Willnauer wrote:
> >> >
> >> >> Hey Bill,
> >> >> let me clarify what Version is used for since I think that cau
On Fri, Sep 17, 2010 at 11:45 PM, Bill Janssen wrote:
> Simon Willnauer wrote:
>
>> On Fri, Sep 17, 2010 at 8:14 PM, Bill Janssen wrote:
>> > Simon Willnauer wrote:
>> >
>> >> Hey Bill,
>> >> let me clarify what Version is used for since I think that caused
>> >> little confusion.
>> >
>> > Tha
Bill Janssen wrote:
> ...is there any attribute or static
> method somewhere in Lucene which will return a value of
> org.apache.lucene.util.Version that corresponds to the version of the
> code? That's what I'm looking for. Version.LUCENE_CURRENT looks good,
> but it's deprecated.
And, given
Simon Willnauer wrote:
> On Fri, Sep 17, 2010 at 8:14 PM, Bill Janssen wrote:
> > Simon Willnauer wrote:
> >
> >> Hey Bill,
> >> let me clarify what Version is used for since I think that caused
> >> little confusion.
> >
> > Thanks.
> >
> >> The Version constant was mainly introduced to help
>
On Fri, Sep 17, 2010 at 8:14 PM, Bill Janssen wrote:
> Simon Willnauer wrote:
>
>> Hey Bill,
>> let me clarify what Version is used for since I think that caused
>> little confusion.
>
> Thanks.
>
>> The Version constant was mainly introduced to help
>> users with backwards compatibility and upgr
Simon Willnauer wrote:
> Hey Bill,
> let me clarify what Version is used for since I think that caused
> little confusion.
Thanks.
> The Version constant was mainly introduced to help
> users with backwards compatibility and upgrading their codebase to a
> new version of lucene without breaking
Hey Bill,
let me clarify what Version is used for since I think that caused
little confusion. The Version constant was mainly introduced to help
users with backwards compatibility and upgrading their codebase to a
new version of lucene without breaking existing applications / indexes
build with pre
So, in version 3, I have to pass a version parameter to the constructor
for StandardAnalyzer. Since Version.LUCENE_CURRENT is deprecated, I'd
like this to be the same as the version of the index I'm using. Is
there a way of getting a value of Version for an index? I don't see
obvious methods on