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 41BA117927 for ; Tue, 24 Feb 2015 17:29:51 +0000 (UTC) Received: (qmail 91333 invoked by uid 500); 24 Feb 2015 17:29:47 -0000 Delivered-To: apmail-lucene-solr-user-archive@lucene.apache.org Received: (qmail 91261 invoked by uid 500); 24 Feb 2015 17:29:47 -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 91245 invoked by uid 99); 24 Feb 2015 17:29:47 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 24 Feb 2015 17:29:47 +0000 X-ASF-Spam-Status: No, hits=-0.7 required=5.0 tests=RCVD_IN_DNSWL_LOW,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of superinterstellar@gmail.com designates 209.85.217.175 as permitted sender) Received: from [209.85.217.175] (HELO mail-lb0-f175.google.com) (209.85.217.175) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 24 Feb 2015 17:29:22 +0000 Received: by lbdu10 with SMTP id u10so26420922lbd.7 for ; Tue, 24 Feb 2015 09:27:06 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type; bh=uZwM9JJYn3qt1DNMlc0BF1N9yuDV2TDwW4PJCfMGXBQ=; b=viIKQf8wStklxfOiJdMBNQCijfU4bfZ/M2VdFpg33rFG+IRJAlUDNXH2fMdjZ9jxUR onIAA0413mJ9UbwwuMYByV4PLIuykl9sVG1EvYBmXz9ad9hkeH6OFwdfyGZ8Or+tK12z oUY3WEQOG/CYm5R77lvyTI83uBYMsc3NaBOq0lsGm8A0tKKEjddp8Wn9SYbns/D6ciWa ljHsQ+0NwLKXb/cVk6+7xPOaLyQrSkoBDVkZt4i7eoX2tve11bSqukaTcJGpiio9S7SO WrAETzwjKsXUwKRGpUyVaKmCPixu9Dc2KVAk+vaASMfRVxG+45sVMz+PfgCR1tTNlw/n EAxw== MIME-Version: 1.0 X-Received: by 10.152.21.167 with SMTP id w7mr15530327lae.14.1424798826607; Tue, 24 Feb 2015 09:27:06 -0800 (PST) Received: by 10.25.208.16 with HTTP; Tue, 24 Feb 2015 09:27:06 -0800 (PST) In-Reply-To: References: Date: Wed, 25 Feb 2015 01:27:06 +0800 Message-ID: Subject: Re: apache solr - dovecot - some search fields works some dont From: Kevin Laurie To: "solr-user@lucene.apache.org" Content-Type: text/plain; charset=UTF-8 X-Virus-Checked: Checked by ClamAV on apache.org Hi Alex, Sorry for such noobness question. But where does the schema file go in Solr? Is the directory below correct? /opt/solr/solr/collection1/data Correct? Thanks Kevin On Wed, Feb 25, 2015 at 1:21 AM, Kevin Laurie wrote: > Dear Alex, > I checked the log. When searching the fields From , To, Subject. It records > it > When searching Body, there is no log showing. I am assuming it is a problem > in the schema. > > Will post schema.xml output in next mail. > > On Wed, Feb 25, 2015 at 1:09 AM, Alexandre Rafalovitch > wrote: >> >> Look for the line like this in your log with the search matching the >> body. Maybe put a nonsense string and look for that. This should tell >> you what the Solr-side search looks like. >> >> The thing that worries me here is: rows=107178 - that's most probably >> what's blowing up Solr. You should be paging, not getting everything. >> And that number being like that, it may mean your client makes two >> requests, once to get the result count and once to get the rows >> themselves. It's the second request that is most probably blowing up. >> >> Once you get the request, you should be able to tell what fields are >> being searched and check those fields in schema.xml for field type and >> then field type's definition. Which is what I asked for in the >> previous email. >> >> Regards, >> Alex. >> >> On 24 February 2015 at 11:55, Kevin Laurie >> wrote: >> > 155092 [qtp433527567-13] INFO org.apache.solr.core.SolrCore ? >> > [collection1] webapp=/solr path=/select >> > >> > params={sort=uid+asc&fl=uid,score&q=subject:"price"&fq=%2Bbox:ac553604f7314b54e62300003555fc1a+%2Buser:"user@domain.net"&rows=107178} >> > hits=1237 status=0 QTime=1918 >> >> >> >> ---- >> Solr Analyzers, Tokenizers, Filters, URPs and even a newsletter: >> http://www.solr-start.com/ > >