Migrate from Lucene 5.5.3 to 7.6.0

2019-02-10 Thread brahmam
Hi,

We want to migrate from lucene 5.5.3 to 7.6.0(current stable version).
Could you please help with migration guide if any available for the same?

*One of the scenario observed:*
when used *NumericRangeQuery.newLongRange, *we can pass the precision step
as the parameter.
But now in 7.6.0, we need to use LongPoint, but no method available which
can take the precision as parameter.

Could you please advice how to overcome this migration issue?

Regards,
Sreeram


Re: SynonymGraphFilter can't consume an incoming graph

2019-02-10 Thread Erick Erickson
It's, well, undefined. As in nobody knows except that it'll be wrong.
And exactly what the results are may change with any given release.

Best,
Erick

On Sun, Feb 10, 2019 at 10:48 AM lambda.coder lucene
 wrote:
>
> Hello,
>
> The Javadocs of SynonymGraphFilter says that it can’t consume an incoming 
> graph and that the result will be undefined
>
> Is there any example that exhibits the limitations and what is meant by 
> undefined ?
>
>
> Regards
> Patrick
>
>
> -
> To unsubscribe, e-mail: java-user-unsubscr...@lucene.apache.org
> For additional commands, e-mail: java-user-h...@lucene.apache.org
>

-
To unsubscribe, e-mail: java-user-unsubscr...@lucene.apache.org
For additional commands, e-mail: java-user-h...@lucene.apache.org



SynonymGraphFilter can't consume an incoming graph

2019-02-10 Thread lambda.coder lucene
Hello,

The Javadocs of SynonymGraphFilter says that it can’t consume an incoming graph 
and that the result will be undefined

Is there any example that exhibits the limitations and what is meant by 
undefined ?


Regards
Patrick 


-
To unsubscribe, e-mail: java-user-unsubscr...@lucene.apache.org
For additional commands, e-mail: java-user-h...@lucene.apache.org



Re: How do I build a DocValuesIterator similar to the way FieldCache can be used?

2019-02-10 Thread MarcoR
Answering my own question in case someone fails to find the answer easily. 

As pointed out in  this really helpful discussion

 
, MultiDocValues can be used. I tried it and it works.



--
Sent from: http://lucene.472066.n3.nabble.com/Lucene-Java-Users-f532864.html

-
To unsubscribe, e-mail: java-user-unsubscr...@lucene.apache.org
For additional commands, e-mail: java-user-h...@lucene.apache.org



How do I build a DocValuesIterator similar to the way FieldCache can be used?

2019-02-10 Thread MarcoR
Greetings, 

I'm trying to use BinaryDocValues but I cannot find a way to create an
instance of this type in the way FieldCache can be used: that is, provide an
IndexReader and get back the field cache. 

DocValues.getBinary is expecting a LeafReader and I cannot use it by simply
providing an IndexReader. I used BinaryDocValues in a function score query
before but in this case I just want to access DocValues based on a field
name. 

How is DocValues supposed to be used as a FieldCache in this case? I could
access a FieldCache at any point I'd need within my code but it looks like
DocValues is limited to cases where I'm given a leaf reader (or a context
that'll give me a leaf reader). 

I read everything I could find but I could not find a single example of how
DocValues is supposed to be used, especially as a replacement for the
FieldCache. 

All the best
M



--
Sent from: http://lucene.472066.n3.nabble.com/Lucene-Java-Users-f532864.html

-
To unsubscribe, e-mail: java-user-unsubscr...@lucene.apache.org
For additional commands, e-mail: java-user-h...@lucene.apache.org



Confirm

2019-02-10 Thread Evert Wagenaar
Confirmed my subscription.

http://www.ejwagenaar.com/
-- 
Sent from Gmail IPad