Maybe look at the Solr payload code to see how to do it in Lucene? But yeah, that article is quite out of date.
On Thu, Jul 5, 2018 at 8:23 AM, <baris.ka...@oracle.com> wrote: > Thanks i saw these posts but Grant's article is based on Lucene. > > i am not using Solr. Many classes in that article does not exist in latest > versions of Lucene like version 6.1. > > For instance BoostingTermQuery does not exist in 6.1 and the way docs are > indexed are also different on 6.1. > > There is a new class PayloadScoreQuery but there is no examples like this > great article how to put them together. > > Best regards > > > On 7/5/18 11:18 AM, Ishan Chattopadhyaya wrote: >> >> Try these, maybe? >> >> >> https://urldefense.proofpoint.com/v2/url?u=https-3A__lucidworks.com_2017_09_14_solr-2Dpayloads_&d=DwIBaQ&c=RoP1YumCXCgaWHvlZYR8PZh8Bv7qIrMUB65eapI_JnE&r=nlG5z5NcNdIbQAiX-BKNeyLlULCbaezrgocEvPhQkl4&m=Ak4sr1zTaxPibIGJz26XQrj9fM4hZls8OegNbEWu1lI&s=9hxjhLoi6Lnb7KbYaOeb4-SP039x4Zx0XIynF_HzOJk&e= >> >> https://urldefense.proofpoint.com/v2/url?u=http-3A__www.textsearch.io_-3Fp-3D5&d=DwIBaQ&c=RoP1YumCXCgaWHvlZYR8PZh8Bv7qIrMUB65eapI_JnE&r=nlG5z5NcNdIbQAiX-BKNeyLlULCbaezrgocEvPhQkl4&m=Ak4sr1zTaxPibIGJz26XQrj9fM4hZls8OegNbEWu1lI&s=elEAMRZBIF2jldvS2kCD9B3r43kZ3hOToKVyR0I4qzo&e= >> >> On Thu, Jul 5, 2018 at 8:26 PM, <baris.ka...@oracle.com> wrote: >> >>> Hi,- >>> Is there a newer version of this great article from Mr. Grant >>> Ingersoll? >>> >>> >>> https://urldefense.proofpoint.com/v2/url?u=https-3A__lucidworks.com_2009_08_05_getting-2Dstarted-2Dwith-2Dpayloads_&d=DwIBaQ&c=RoP1YumCXCgaWHvlZYR8PZh8Bv7qIrMUB65eapI_JnE&r=nlG5z5NcNdIbQAiX-BKNeyLlULCbaezrgocEvPhQkl4&m=Ak4sr1zTaxPibIGJz26XQrj9fM4hZls8OegNbEWu1lI&s=isAZ026j7ugASeuPdoeXnoi5XfSGfxEgiWECE2ziURo&e= >>> Thanks >>> >>> This article is based on Lucene 2.9. >>> Best regards >>> >>> --------------------------------------------------------------------- >>> 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 > --------------------------------------------------------------------- To unsubscribe, e-mail: java-user-unsubscr...@lucene.apache.org For additional commands, e-mail: java-user-h...@lucene.apache.org