Re: Depreciated IntField field in v6

2016-04-15 Thread Greg Huber
Thanks, guess I should have been using StoredField in the firstplace! document.add(new StoredField(FieldConstants.LUCENE_WEIGHT_LINES, catalogue.getSearchWeight())); On 15 April 2016 at 17:40, Robert Muir wrote: > On Fri, Apr 15, 2016 at 11:48 AM, Greg Huber wrote: > > Hello, > > > > I was us

Re: Depreciated IntField field in v6

2016-04-15 Thread Robert Muir
On Fri, Apr 15, 2016 at 11:48 AM, Greg Huber wrote: > Hello, > > I was using the IntField field to set the weight on my suggester. > (LegacyIntField works) > > old: > > document.add(new IntField( > FieldConstants.LUCENE_WEIGHT_LINES, > catalogue.getSearchWeight(), Field.Store.Y

Depreciated IntField field in v6

2016-04-15 Thread Greg Huber
Hello, I was using the IntField field to set the weight on my suggester. (LegacyIntField works) old: document.add(new IntField( FieldConstants.LUCENE_WEIGHT_LINES, catalogue.getSearchWeight(), Field.Store.YES)); I tried to use the IntPoint but it does not seem to work: new: