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
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
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: