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 AC51F11DC4 for ; Wed, 23 Jul 2014 09:54:15 +0000 (UTC) Received: (qmail 73678 invoked by uid 500); 23 Jul 2014 09:54:10 -0000 Delivered-To: apmail-lucene-solr-user-archive@lucene.apache.org Received: (qmail 73611 invoked by uid 500); 23 Jul 2014 09:54:10 -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 71453 invoked by uid 99); 23 Jul 2014 09:51:40 -0000 X-ASF-Spam-Status: No, hits=2.3 required=5.0 tests=SPF_SOFTFAIL,URI_HEX X-Spam-Check-By: apache.org Received-SPF: softfail (athena.apache.org: transitioning domain of shashi.rsb@hotmail.com does not designate 216.139.236.26 as permitted sender) Date: Wed, 23 Jul 2014 02:51:15 -0700 (PDT) From: "shashi.rsb" To: solr-user@lucene.apache.org Message-ID: <1406109075614-4148719.post@n3.nabble.com> Subject: solr 3.6 to 4.7 upgrade has changed the query string MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org Hi, Our backend application queries solr to retrieve certain records. We were initially on 3.6 version and now upgrade to 4.7 solr version. something has changed in terms of query string which needs a parentheses for the below query both the queries are from 4.7 solr. returns 1 record http://solr-dev.ss.com/solr/hotel/select/?q=ID:AFLGWBDAB OR AFLGWBGIB OR FLGWGNDG returns 14 records as expected. http://solr-dev.ss.com/solr/hotel/select/?q=ID:(AFLGWBDAB OR AFLGWBGIB OR FLGWGNDG) If you notice I had to add parentheses to get expected records. Also I cannot change the application code now as the release process to the application will go beyond 1 month. Is there a workaround within solrconfig to not use parentheses in 4.7 Thanks Shashi -- View this message in context: http://lucene.472066.n3.nabble.com/solr-3-6-to-4-7-upgrade-has-changed-the-query-string-tp4148719.html Sent from the Solr - User mailing list archive at Nabble.com.