Return-Path: X-Original-To: apmail-lucene-java-user-archive@www.apache.org Delivered-To: apmail-lucene-java-user-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 4574BFA5D for ; Thu, 30 May 2013 23:27:29 +0000 (UTC) Received: (qmail 61093 invoked by uid 500); 30 May 2013 23:27:27 -0000 Delivered-To: apmail-lucene-java-user-archive@lucene.apache.org Received: (qmail 61021 invoked by uid 500); 30 May 2013 23:27:27 -0000 Mailing-List: contact java-user-help@lucene.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: java-user@lucene.apache.org Delivered-To: mailing list java-user@lucene.apache.org Received: (qmail 61006 invoked by uid 99); 30 May 2013 23:27:26 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 30 May 2013 23:27:26 +0000 X-ASF-Spam-Status: No, hits=-0.7 required=5.0 tests=RCVD_IN_DNSWL_LOW X-Spam-Check-By: apache.org Received-SPF: error (nike.apache.org: local policy) Received: from [209.85.215.49] (HELO mail-la0-f49.google.com) (209.85.215.49) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 30 May 2013 23:27:19 +0000 Received: by mail-la0-f49.google.com with SMTP id fp13so817377lab.36 for ; Thu, 30 May 2013 16:26:38 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=from:content-type:content-transfer-encoding:subject:date:message-id :to:mime-version:x-mailer:x-gm-message-state; bh=TtvbbXb94bbsZtfD2tM7DM4CSw83JhUDM1lbMTRH7fs=; b=LQ2CDrKzOMaUo2OB1e6d94oslT7+REyBNKN/6Fqp9X1f1LHuMNf/KIIVbQ53cEyb/H XBVvzIIzxRFNCqfipkOZ95sXn2lHo6ckI/tML6W6fRKsNnjD5lwbx92BfcRwYz9jrKY1 CxTm0w3+2nRUYJhdciLy6rdEHV7PH+1gr5ankyGHZ5NkenjOF1jKnMIC8Ys2x2iYXBIf bW1QhhZbO56AvxbBGJ3pBOL5/artHe3d3FGbC3d0UhvbDG2/h0zgFTi6hUl5R9yopHfP 48vr5JuALhb6y1GkEaqF7Ejq5iHjF4WLrcanXt3QjBTdINrSO1foV6t+Dcaivt/F311p soAw== X-Received: by 10.152.116.36 with SMTP id jt4mr4606328lab.57.1369956398772; Thu, 30 May 2013 16:26:38 -0700 (PDT) Received: from [10.10.3.182] ([148.122.14.38]) by mx.google.com with ESMTPSA id 7sm11151015lax.1.2013.05.30.16.26.37 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Thu, 30 May 2013 16:26:37 -0700 (PDT) From: Karl Wettin Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: quoted-printable Subject: A couple of thoughts on non technical users and query parsers. Date: Fri, 31 May 2013 01:26:36 +0200 Message-Id: <8DBB5BC5-9C1E-431B-A287-FE47DF9613A1@kodapan.se> To: java-user@lucene.apache.org Mime-Version: 1.0 (Apple Message framework v1283) X-Mailer: Apple Mail (2.1283) X-Gm-Message-State: ALoCoQl2CzXH46uNkEb1VCm4XJDOQiZf8JTBlKfmJ2twmrnRTlsHw44Do0oFWS2CMa/OjMjLfVRU X-Virus-Checked: Checked by ClamAV on apache.org Non technical users understand what a field is. All of them might = however not know that they they can use them but It's easy for them to = learn that name:john will search for john only in names. Non technical users can learn to understand that logic and functionality = can be specified in their queries. That + means boolean expression AND, = that quoted text will match phrases. It's however extremely hard for non technical users to understand that a = field might be the placeholder of functionality such as phonetics. Users = can learn that {name.phonetic:john} constitute a phonetic match the same = way as {name:"john doe"} constitute a phrase match but they might just = ask why it's not {name.phrase:john doe}.=20 Anyone user can learn to use something no matter how cryptic and = strange, they simply get used to it. But I would prefer if it was more = intuitive for non technical users to construct complex queries by them = selfs. To a non technical user a field is a field, it's not functionality. The = field {name} is just the field {name}, not a whole bunch of fields with = different settings that all of them actually contains the {name} = analyzed in a variety of ways. Field to the left of the colon, matching = rules to the right of the colon. I'm not sure how it should look and what it should be able to do, but I = think a more complex (for the developer, not for the user) query parser = needs to be implemented that fix these problems for the users. Something = in the lines of more strange control characters as when matching fuzzy = and what not, but preferably something even better. Perhaps one need to = reconsider the whole query parsing thing to get it really good. Did anyone else spend time thinking along these lines? karl= --------------------------------------------------------------------- To unsubscribe, e-mail: java-user-unsubscribe@lucene.apache.org For additional commands, e-mail: java-user-help@lucene.apache.org