Yes the field is multi valued
On Dec 28, 2015 3:48 PM, "Jack Krupansky" wrote:
> Is the field multivalued?
>
> -- Jack Krupansky
>
> On Sun, Dec 27, 2015 at 11:16 PM, Jamie Johnson wrote:
>
> > What is the difference of adding a field with the same value twice or
> > adding it once and boosting
Is the field multivalued?
-- Jack Krupansky
On Sun, Dec 27, 2015 at 11:16 PM, Jamie Johnson 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
>
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/se
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" wrote:
> There's no benefit in adding the same field twice because that'll just
> increase the size of your index
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 wrote:
> What is the difference of a