It will only be the same in a very few number of very well choreographed cases or complete coincidences. If you're interested in how this might happen you should take a look at how lucene matches and scores docs based on your query. https://lucene.apache.org/core/3_5_0/api/core/org/apache/lucene/search/Similarity.html
On Mon, 28 Dec 2015, 20:01 Jamie Johnson <jej2...@gmail.com> wrote: > Thanks, I wasn't sure if adding twice and boosting results in a similar > thing happening under the hood or not. Appreciate the response. > > Jamie > On Dec 28, 2015 9:08 AM, "Binoy Dalal" <binoydala...@gmail.com> wrote: > > > There's no benefit in adding the same field twice because that'll just > > increase the size of your index without providing any real benefits at > > query time. > > For increasing the scores, boosting is definitely the way to go. > > > > On Mon, 28 Dec 2015, 09:46 Jamie Johnson <jej2...@gmail.com> wrote: > > > > > What is the difference of adding a field with the same value twice or > > > adding it once and boosting the field on add? Is there a situation > where > > > one approach is preferred? > > > > > > Jamie > > > > > -- > > Regards, > > Binoy Dalal > > > -- Regards, Binoy Dalal