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:

document.add(new IntPoint(FieldConstants.LUCENE_WEIGHT_LINES,
                    catalogue.getSearchWeight()));

Is this the correct way t do it now?  There is no Field.Store.YES?

Cheers Greg

Reply via email to