Return-Path: X-Original-To: archive-asf-public-internal@cust-asf2.ponee.io Delivered-To: archive-asf-public-internal@cust-asf2.ponee.io Received: from cust-asf.ponee.io (cust-asf.ponee.io [163.172.22.183]) by cust-asf2.ponee.io (Postfix) with ESMTP id 62B6F200CBC for ; Tue, 20 Jun 2017 16:49:58 +0200 (CEST) Received: by cust-asf.ponee.io (Postfix) id 61906160BE1; Tue, 20 Jun 2017 14:49:58 +0000 (UTC) Delivered-To: archive-asf-public@cust-asf.ponee.io Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by cust-asf.ponee.io (Postfix) with SMTP id 81509160BD3 for ; Tue, 20 Jun 2017 16:49:57 +0200 (CEST) Received: (qmail 75845 invoked by uid 500); 20 Jun 2017 14:49:56 -0000 Mailing-List: contact user-help@lucenenet.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: user@lucenenet.apache.org Delivered-To: mailing list user@lucenenet.apache.org Delivered-To: moderator for user@lucenenet.apache.org Received: (qmail 71679 invoked by uid 99); 20 Jun 2017 14:47:46 -0000 X-Virus-Scanned: Debian amavisd-new at spamd3-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: 1.933 X-Spam-Level: * X-Spam-Status: No, score=1.933 tagged_above=-999 required=6.31 tests=[HTML_MESSAGE=2, RCVD_IN_DNSWL_LOW=-0.7, RCVD_IN_MSPIKE_H3=-0.01, RCVD_IN_MSPIKE_WL=-0.01, SPF_NEUTRAL=0.652, URIBL_BLOCKED=0.001] autolearn=disabled From: "Matthieu Lhopital" To: Subject: The lucene Boost Date: Tue, 20 Jun 2017 16:47:34 +0200 Message-ID: <045601d2e9d4$27e9ad90$77bd08b0$@centralweb.fr> MIME-Version: 1.0 Content-Type: multipart/related; boundary="----=_NextPart_000_0457_01D2E9E4.EB742B40" X-Mailer: Microsoft Outlook 16.0 Thread-Index: AdLp00TsWF5d/KyoTLOOzltbnYFsiw== Content-Language: fr X-Ovh-Tracer-Id: 3857333081790298056 X-VR-SPAMSTATE: OK X-VR-SPAMSCORE: 0 X-VR-SPAMCAUSE: gggruggvucftvghtrhhoucdtuddrfeeljedrkeekgdeijecutefuodetggdotefrodftvfcurfhrohhfihhlvgemucfqggfjpdevjffgvefmvefgnecuuegrihhlohhuthemuceftddtnecu archived-at: Tue, 20 Jun 2017 14:49:58 -0000 ------=_NextPart_000_0457_01D2E9E4.EB742B40 Content-Type: multipart/alternative; boundary="----=_NextPart_001_0458_01D2E9E4.EB742B40" ------=_NextPart_001_0458_01D2E9E4.EB742B40 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Hello, =20 I am trying to use lucene.net search. I want to use the boost with = field. But when I link a boost with a field during the indexation=20 Field field =3D new Field("Id", itemData.Id, Field.Store.YES, Field.Index.ANALYZED); field.Boost =3D 2.0f; doc.Add(field); =20 The score don=92t change. The result dan=92t change. =20 Have you an idea ? =20 Tks =20 Cordialement, =20 Matthieu Lhopital -------------------------------------------------------------------- Centralweb - Centre de D=E9veloppement 3 Rue Berthelot - Les Espaluns - 83160 La Valette Du Var =20 =20 Centralweb - Si=E8ge Social 38 rue du Texel - 75014 Paris =20 ------=_NextPart_001_0458_01D2E9E4.EB742B40 Content-Type: text/html; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable

Hello,

 

I am trying to use lucene.net search. I want to use the = boost with field. But when I link a boost with a field during the = indexation

Field field =3D new Field("Id", itemData.Id, Field.Store.YES, Field.Index.ANALYZED);

field.Boost =3D 2.0f;

doc.Add(field);

 

The score don’t change. The = result dan’t change.

 

Have you an idea = ?

 

Tks

 

Cordialement,

=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0= =A0=A0

Matthieu = Lhopital

----------------------= ----------------------------------------------

Centralweb - Centre = de D=E9veloppement

3 Rue Berthelot - Les = Espaluns - 83160 La Valette Du Var

 

3D"cid:image002.jpg@01D20DDD.16BCEF60"

=

 

Centralweb - Si=E8ge = Social

38 rue du Texel - = 75014 Paris

 

------=_NextPart_001_0458_01D2E9E4.EB742B40-- ------=_NextPart_000_0457_01D2E9E4.EB742B40--