Return-Path: X-Original-To: apmail-lucene-solr-user-archive@minotaur.apache.org Delivered-To: apmail-lucene-solr-user-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id B6B5210ABB for ; Wed, 19 Mar 2014 10:01:37 +0000 (UTC) Received: (qmail 57148 invoked by uid 500); 19 Mar 2014 10:01:33 -0000 Delivered-To: apmail-lucene-solr-user-archive@lucene.apache.org Received: (qmail 56237 invoked by uid 500); 19 Mar 2014 10:01:30 -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 Received: (qmail 56228 invoked by uid 99); 19 Mar 2014 10:01:27 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 19 Mar 2014 10:01:27 +0000 X-ASF-Spam-Status: No, hits=1.7 required=5.0 tests=FREEMAIL_ENVFROM_END_DIGIT,HTML_MESSAGE,RCVD_IN_DNSWL_LOW,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of bratislav1983@gmail.com designates 209.85.223.177 as permitted sender) Received: from [209.85.223.177] (HELO mail-ie0-f177.google.com) (209.85.223.177) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 19 Mar 2014 10:01:21 +0000 Received: by mail-ie0-f177.google.com with SMTP id rl12so8160415iec.8 for ; Wed, 19 Mar 2014 03:00:59 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:date:message-id:subject:from:to:content-type; bh=Q1xU0PwW/x72iepVIHeKGNRdW7zinOSFDdnQbiCnMKU=; b=hV8CvwmIZ3VgPn0RHtAwVhS9AhoTawb++TdcNJaGTNCv9S1mUFZzHgTtVDRer4lSHb RBlK/+lWwJEzUYyDQb8y6LPLaR/zgaV6S6rfODbvXgd9TWFbUXlPbuX725wHFnKANd48 xG6Rvp9Q6Q4YScXQ8oF2Dly0/nz/FmzFs1QhKvebXz8WoRf7yED0QRZMtl+xdxeaCWoa CiMEP0cTAgcaeaeywQNkGgow9pQRErwb9nI5SO8VtIec6IEFjOVR51Un0tdkiEGuk2wf 4CiinxGOhHsrIeLaMEfKtp8DAh3RoEZCKxSKuUVNQPFzOLb6wmh8c12ebyI0u/rmYYfd ufvQ== MIME-Version: 1.0 X-Received: by 10.42.114.82 with SMTP id f18mr6406817icq.56.1395223259487; Wed, 19 Mar 2014 03:00:59 -0700 (PDT) Received: by 10.64.13.199 with HTTP; Wed, 19 Mar 2014 03:00:59 -0700 (PDT) Date: Wed, 19 Mar 2014 11:00:59 +0100 Message-ID: Subject: Support for wildcard queries in elevate.xml From: Bratislav Stojanovic To: solr-user@lucene.apache.org Content-Type: multipart/alternative; boundary=20cf303f6dcec3a11a04f4f2baa6 X-Virus-Checked: Checked by ClamAV on apache.org --20cf303f6dcec3a11a04f4f2baa6 Content-Type: text/plain; charset=ISO-8859-1 Hi, I have searched the mailing list archives but couldn't find the right answer so far. I want to elevate some results using instructions from QueryElevationComponent page, but I'm not sure how to set queries in *elevate.xml* file. My query looks like this : (content:"foobar" OR text:"foobar") AND last_modified:[ TO < date.to>} The trick is that *last_modified *param can be pretty much anything as it is set from the search page to filter results. How to set this in the text attribute in **? My attempt was this, but it doesn't work : ** * * * * * * ** Does this file support wildcard queries? Is there any solution how to achieve this, or do I have to manipulate result xml from solr to change result order? P.S. I'm using Solr 4.6 on Windows 7 x64 and Java 1.7.0_51 x64. My elevate.xml file is in the collection1\data folder. Thank you all in advance. -- Bratislav Stojanovic, M.Sc. --20cf303f6dcec3a11a04f4f2baa6--