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 7AFA6200B61 for ; Tue, 9 Aug 2016 19:11:37 +0200 (CEST) Received: by cust-asf.ponee.io (Postfix) id 7973E160AA5; Tue, 9 Aug 2016 17:11:37 +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 9917B160A6B for ; Tue, 9 Aug 2016 19:11:36 +0200 (CEST) Received: (qmail 54385 invoked by uid 500); 9 Aug 2016 17:11:34 -0000 Mailing-List: contact solr-user-help@lucene.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: solr-user@lucene.apache.org Delivered-To: mailing list solr-user@lucene.apache.org Delivered-To: moderator for solr-user@lucene.apache.org Received: (qmail 53603 invoked by uid 99); 9 Aug 2016 17:10:56 -0000 X-Virus-Scanned: Debian amavisd-new at spamd2-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: -20.027 X-Spam-Level: X-Spam-Status: No, score=-20.027 tagged_above=-999 required=6.31 tests=[DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, ENV_AND_HDR_SPF_MATCH=-0.5, HTML_MESSAGE=2, RCVD_IN_DNSWL_HI=-5, RP_MATCHES_RCVD=-1.426, SPF_PASS=-0.001, USER_IN_DEF_DKIM_WL=-7.5, USER_IN_DEF_SPF_WL=-7.5] autolearn=disabled Authentication-Results: spamd2-us-west.apache.org (amavisd-new); domainkeys=fail (1024-bit key) reason="fail (message has been altered)" header.from=mraleraskar@ebay.com header.d=ebay.com; dkim=pass (1024-bit key) header.d=ebay.com DomainKey-Signature: s=ebaycorp; d=ebay.com; c=nofws; q=dns; h=X-EBay-Corp:X-IronPort-AV:Received:Received:Received: Received:Received:From:To:Subject:Thread-Topic: Thread-Index:Date:Message-ID:Accept-Language: Content-Language:X-MS-Has-Attach:X-MS-TNEF-Correlator: authentication-results:x-originating-ip: x-ms-office365-filtering-correlation-id: x-microsoft-exchange-diagnostics:x-microsoft-antispam: x-microsoft-antispam-prvs:x-exchange-antispam-report-test: x-exchange-antispam-report-cfa-test:x-forefront-prvs: x-forefront-antispam-report:received-spf: spamdiagnosticoutput:spamdiagnosticmetadata:Content-Type: MIME-Version: X-MS-Exchange-CrossTenant-originalarrivaltime: X-MS-Exchange-CrossTenant-fromentityheader: X-MS-Exchange-CrossTenant-id: X-MS-Exchange-Transport-CrossTenantHeadersStamped: Return-Path:X-OriginatorOrg:X-CFilter; b=IVH/9+EArjOeelx8qKv8dP2+da8wxDZcryQBC0Aq1VoZotfe8dbci8zM FpDkFI2Xe0PqWlNeOqZpxdpHh/nNLyu3CKUB72Shn9oN2c5BbKIOTuqWm zIsyliScpV87eUrVN5PqY83x0Aki4hJe92I4JW1+k4MuzTgNpBt14wIeD w=; DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=ebay.com; i=@ebay.com; q=dns/txt; s=ebaycorp; t=1470762653; x=1502298653; h=from:to:subject:date:message-id:mime-version; bh=Q46dViL+1ZUOb3LWyDzrIAP20qZXNVg2cCYpVl3OQdI=; b=XCOFqWgqCfgf81rY5zRyY6RNGFAfbeCppns/vRhbg6zyvXOROZL37gh7 /kDalE86rew3xlfc0mel8a63JJNOndBs6OLop3oTKkXPt+RnIUNiQ09Yu 2ms5WlEmI7Xb4Bp2A2+B78BZPRwkzm/YmNrYKzIjM9HiW7oSyLQQtaIvo I=; X-EBay-Corp: Yes X-IronPort-AV: E=Sophos;i="5.28,495,1464678000"; d="scan'208,217";a="338462836" From: "Raleraskar, Mayur" To: "solr-user@lucene.apache.org" Subject: Help for -- Filter in the text field + highlight + no affect on boosting(if done with q instead of fq) Thread-Topic: Help for -- Filter in the text field + highlight + no affect on boosting(if done with q instead of fq) Thread-Index: AdHyYOm+lZ8obY9ZQL2Kf/XH9WBpFg== Date: Tue, 9 Aug 2016 17:10:23 +0000 Message-ID: Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: authentication-results: spf=none (sender IP is ) smtp.mailfrom=mraleraskar@ebay.com; x-originating-ip: [216.113.160.77] x-ms-office365-filtering-correlation-id: 79a4e7c0-f1c2-4966-71d1-08d3c0780cf7 x-microsoft-exchange-diagnostics: 1;BN1PR07MB359;6:zuqFwC6fKh9AoU+tiLJm/GFlkkv+iBvu8HaR8EHKrl2Oflh6fMtTYIVvFK7x7HZOR3nY/Ib4gGyzqUyzKw6tyt6wupwf9Q5j20x++0FQKn9Q9eRtq1ZqlZQoYa/nL5X6oDSDTZdUGTdPQOCqlW4sGhOFBfByRoZTiTiuI8cPxv17YpyBW0W23j1immbWPDHUz8gsU8Qy8EPqrj9Phla9pFlw9bkdHRRsZAgulXLvVK7V1RH9Qo2rBgKwQjfgWOO/qKKjQ/a6sdh/0Fp8PEDP63PXgrBfabZ2c1NV+ptpjlc=;5:tk7Y6/ZUOQEHT8OO0un/m9dk9Esg3mhgBw/OM4X24iQQzSmfask74AT0hRPcL4gHP3IjECQDIho8CQim76vxYLqTjZ3SlzA4OaoQUq18SoL0oIGuxzHVdrMprJNMj5y9S1a7CDnamoyfWrt6aSfV5w==;24:dpxIDvInxPb6+qMTrnfrT6zi2MLl4SSIHh3HujXshqbM7wnutFoJT250mSccH9t3Uzw4+RHz+yXtsbPP6QmuC819p2q2me44XpVVkaI8Wdc=;7:Up4MSaltvZ7yDOYdfWa+LNDSUZqZer6sQggQ+uIr7/cQTkvdGibm3zwPHOALUsW7vSFFwzKgKmr9vXcZ3MjGSelT7daQdUuibMcDkKF95tpiYETiRm2LFEpRKvLEaVeq+E+auVc5gWoMpNM1ok4lGaWmDMbs7yytFCbpt9Uia/iU3Gajc6rHc6n9iDISpy8Ca+8KgfsB2+woE7SS1QfiiT9LnjYaNT7Zo3sJRjplP+6ScAlZHO3LkJptIYxbqNV9 x-microsoft-antispam: UriScan:;BCL:0;PCL:0;RULEID:;SRVR:BN1PR07MB359; x-microsoft-antispam-prvs: x-exchange-antispam-report-test: UriScan:(55715876382637)(21748063052155); x-exchange-antispam-report-cfa-test: BCL:0;PCL:0;RULEID:(601004)(2401047)(8121501046)(5005006)(10201501046)(3002001);SRVR:BN1PR07MB359;BCL:0;PCL:0;RULEID:;SRVR:BN1PR07MB359; x-forefront-prvs: 0029F17A3F x-forefront-antispam-report: SFV:NSPM;SFS:(10019020)(7916002)(199003)(51874003)(189002)(53754006)(68736007)(15975445007)(586003)(3280700002)(3660700001)(8936002)(5002640100001)(86362001)(2351001)(106356001)(2906002)(19625215002)(97736004)(110136002)(107886002)(66066001)(7846002)(7906003)(7696003)(7736002)(81166006)(74316002)(102836003)(10290500002)(10400500002)(19580395003)(6116002)(3846002)(790700001)(450100001)(81156014)(9326002)(8676002)(2501003)(9686002)(2900100001)(16236675004)(76576001)(11100500001)(19300405004)(105586002)(33656002)(19617315012)(54356999)(229853001)(99286002)(50986999)(87936001)(101416001)(92566002)(122556002)(189998001);DIR:OUT;SFP:1102;SCL:1;SRVR:BN1PR07MB359;H:BN1PR07MB360.namprd07.prod.outlook.com;FPR:;SPF:None;PTR:InfoNoRecords;A:1;MX:1;LANG:en; received-spf: None (protection.outlook.com: ebay.com does not designate permitted sender hosts) spamdiagnosticoutput: 1:99 spamdiagnosticmetadata: NSPM Content-Type: multipart/alternative; boundary="_000_BN1PR07MB36094D1D4A1E8902BDA4EB7C51C0BN1PR07MB360namprd_" MIME-Version: 1.0 X-MS-Exchange-CrossTenant-originalarrivaltime: 09 Aug 2016 17:10:23.3933 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-id: 46326bff-9928-41a0-baca-17c16c94ea99 X-MS-Exchange-Transport-CrossTenantHeadersStamped: BN1PR07MB359 X-OriginatorOrg: ebay.com X-CFilter: Scanned archived-at: Tue, 09 Aug 2016 17:11:37 -0000 --_000_BN1PR07MB36094D1D4A1E8902BDA4EB7C51C0BN1PR07MB360namprd_ Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable Hi All, I am using Solr for search functionality here @ eBay reviews team. I need to implement search functionality with q parameter but do not want i= t, to affect boosting or relevancy. How can I achieve that? Effectively I w= ant it perform just like a filter. My query is like SolrIp:Port/select?defType=3Dedismax&q=3Dtext%3Agood&boost=3Dmax%28relevanc= eScore_dx%2C+0.1%29&boost=3Drecip%28abs%28ms%28NOW%2FYEAR%2B1YEAR%2ClastEdi= tedDate_dt%29%29%2C+3.16e-11%2C1%2C1%29&start=3D0&rows=3D5&facet=3Dtrue&fac= et.field=3D%7B%21ex%3Dlab_ix%2Clocale_sx%7Drating_ix&facet.field=3D%7B%21ex= %3Dlab_ix%7Dlabel_ix&facet.sort=3Dcount&facet.mincount=3D0&facet.limit=3D10= 0&facet.offset=3D0&fq=3Dstatus_ix%3A1&fq=3D%7B%21tag%3Dlab_ix%7Dlabel_ix%3A= 2&fq=3DsiteId_ix%3A0&fq=3DsubjectReferenceId_lx%3A1040409165+AND+subjectTyp= e_sx%3AP&wt=3Djson&indent=3Dtrue&fl=3Did&debugQuery=3Dtrue OR I can search/filter with fq parameter but I need to highlight words which a= re filtered by fq. Just the words in the text, which matches fq regex....no= t the entire text field. My query is like SolrIp:Port/select?defType=3Dedismax&q=3D*%3A*&boost=3Dmax%28relevanceScore= _dx%2C+0.1%29&boost=3Drecip%28abs%28ms%28NOW%2FYEAR%2B1YEAR%2ClastEditedDat= e_dt%29%29%2C+3.16e-11%2C1%2C1%29&start=3D0&rows=3D50&facet=3Dtrue&facet.fi= eld=3D%7B%21ex%3Dlab_ix%2Clocale_sx%7Drating_ix&facet.field=3D%7B%21ex%3Dla= b_ix%7Dlabel_ix&facet.sort=3Dcount&facet.mincount=3D0&facet.limit=3D100&fac= et.offset=3D0&fq=3Dstatus_ix%3A1&fq=3D%7B%21tag%3Dlab_ix%7Dlabel_ix%3A2&fq= =3DsiteId_ix%3A0&fq=3DsubjectReferenceId_lx%3A1040409165+AND+subjectType_sx= %3AP&fq=3Dtext%3Agood&wt=3Djson&indent=3Dtrue&fl=3Did Thanks in advance, Mayur --_000_BN1PR07MB36094D1D4A1E8902BDA4EB7C51C0BN1PR07MB360namprd_--