Re: Grant Ingersoll's 2009 blog article- is there a newer version?

2018-07-05 Thread baris . kazar
Another piece resolved: DefaultSimilarity is now ClassicSimilarity since LUCENE VERSION 5.4. Best regards On 7/5/18 4:30 PM, baris.ka...@oracle.com wrote: One thing i noticed is that org.apache.lucene.index.IndexWriter class does not have setSimilarity and it is moved to org.apache.lucene.i

Re: Grant Ingersoll's 2009 blog article- is there a newer version?

2018-07-05 Thread baris . kazar
One thing i noticed is that org.apache.lucene.index.IndexWriter class does not have setSimilarity and it is moved to org.apache.lucene.index.IndexWriterConfig class. thus, i resolved the first question below. Best regards On 7/5/18 3:17 PM, baris.ka...@oracle.com wrote: org.apache.lucene.in

Re: Grant Ingersoll's 2009 blog article- is there a newer version?

2018-07-05 Thread baris . kazar
org.apache.lucene.index.IndexWriter class does not have setSimilarity method, am i missing something for this? i checked multiple Lucene versions. next, i have this problem: After defining the Analyzer as the PayloadAnalyzer like on the blog mentioned before, i declared org.apache.lucene.s

Re: Grant Ingersoll's 2009 blog article- is there a newer version?

2018-07-05 Thread baris . kazar
i mean i know the function of BoostingTermQuery class: The BoostingTermQuery is very similar to the SpanTermQuery except that it factors in the value of the payload located at each of the positions where the Term occurs. In order to take advantage of this, you must override Similarity.scoreP

Re: Grant Ingersoll's 2009 blog article- is there a newer version?

2018-07-05 Thread baris . kazar
Sure, can You please point me to the location under Lucene Solr? In Grant's article: i want to know the need to use BoostingTermQuery (now in latest version PayloadScoreQuery) where we already specify payloads in the data in the form |. Best regards On 7/5/18 11:41 AM, Erick Erickson wr

Re: Size of Document

2018-07-05 Thread Chris Hostetter
: Subject: Size of Document : To: java-user@lucene.apache.org : References: : : : Message-ID: : In-Reply-To: : https://people.apache.org/~hossman/#threadhijack Thread Hijacking on Mailing Lists When starting a new discussion on a mailing list, please do not reply to an existing me

Re: Grant Ingersoll's 2009 blog article- is there a newer version?

2018-07-05 Thread Erick Erickson
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, 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 lates

Re: Grant Ingersoll's 2009 blog article- is there a newer version?

2018-07-05 Thread baris . kazar
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

Re: Grant Ingersoll's 2009 blog article- is there a newer version?

2018-07-05 Thread Ishan Chattopadhyaya
Try these, maybe? https://lucidworks.com/2017/09/14/solr-payloads/ http://www.textsearch.io/?p=5 On Thu, Jul 5, 2018 at 8:26 PM, wrote: > Hi,- > Is there a newer version of this great article from Mr. Grant Ingersoll? > > https://lucidworks.com/2009/08/05/getting-started-with-payloads/ Thanks

Grant Ingersoll's 2009 blog article- is there a newer version?

2018-07-05 Thread baris . kazar
Hi,- Is there a newer version of this great article from Mr. Grant Ingersoll? https://lucidworks.com/2009/08/05/getting-started-with-payloads/ Thanks This article is based on Lucene 2.9. Best regards - To unsubscribe, e-mail:

Re: Size of Document

2018-07-05 Thread Adrien Grand
For the record, this is made even more complex by the fact that the disk footprint of a document depends on other documents that are indexed nearby in the same segment, and can change over merges. Le jeu. 5 juil. 2018 à 08:22, Chris Bamford a écrit : > Yes I see, I originally missed Terry’s resp