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 1183FD0C4 for ; Tue, 10 Jul 2012 21:47:36 +0000 (UTC) Received: (qmail 89301 invoked by uid 500); 10 Jul 2012 21:47:32 -0000 Delivered-To: apmail-lucene-solr-user-archive@lucene.apache.org Received: (qmail 89266 invoked by uid 500); 10 Jul 2012 21:47:32 -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 89256 invoked by uid 99); 10 Jul 2012 21:47:32 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 10 Jul 2012 21:47:32 +0000 X-ASF-Spam-Status: No, hits=-0.0 required=5.0 tests=FSL_RCVD_USER,RCVD_IN_DNSWL_LOW,SPF_NEUTRAL X-Spam-Check-By: apache.org Received-SPF: neutral (nike.apache.org: local policy) Received: from [209.85.160.176] (HELO mail-gh0-f176.google.com) (209.85.160.176) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 10 Jul 2012 21:47:23 +0000 Received: by ghbz10 with SMTP id z10so652831ghb.35 for ; Tue, 10 Jul 2012 14:47:03 -0700 (PDT) Received: by 10.66.81.199 with SMTP id c7mr28493019pay.79.1341956822496; Tue, 10 Jul 2012 14:47:02 -0700 (PDT) Received: from frisbee.local ([65.78.136.75]) by mx.google.com with ESMTPS id tj4sm288950pbc.33.2012.07.10.14.46.59 (version=SSLv3 cipher=OTHER); Tue, 10 Jul 2012 14:47:00 -0700 (PDT) Date: Tue, 10 Jul 2012 14:46:58 -0700 (PDT) From: Chris Hostetter To: solr-user@lucene.apache.org Subject: Re: Synonyms and hyphens In-Reply-To: <8F55A95E5FBE4CF6A84B4BC2B0EF2118@JackKrupansky> Message-ID: References: <8F55A95E5FBE4CF6A84B4BC2B0EF2118@JackKrupansky> User-Agent: Alpine 2.02 (DEB 1266 2009-07-14) MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Which version of Solr are you using? : Terms with embedded special characters are treated as phrases with spaces in : place of the special characters. So, "gb-mb" is treated as if you had enclosed : the term in quotes. take a look at "autoGeneratePhraseQueries" option on your field type ... dependingon the "version" attribute of your it may be defaulting to true. Setting it to false should cause it to treat "gb" and "mb" as distinct terms. -Hoss