Return-Path: X-Original-To: archive-asf-public-internal@cust-asf2.ponee.io Delivered-To: archive-asf-public-internal@cust-asf2.ponee.io Received: from cust-asf.ponee.io (cust-asf.ponee.io [163.172.22.183]) by cust-asf2.ponee.io (Postfix) with ESMTP id 44CFA200B71 for ; Wed, 31 Aug 2016 15:44:53 +0200 (CEST) Received: by cust-asf.ponee.io (Postfix) id 42852160AB4; Wed, 31 Aug 2016 13:44:53 +0000 (UTC) Delivered-To: archive-asf-public@cust-asf.ponee.io Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by cust-asf.ponee.io (Postfix) with SMTP id 62B11160A8C for ; Wed, 31 Aug 2016 15:44:52 +0200 (CEST) Received: (qmail 25448 invoked by uid 500); 31 Aug 2016 13:44:50 -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 25432 invoked by uid 99); 31 Aug 2016 13:44:49 -0000 Received: from pnap-us-west-generic-nat.apache.org (HELO spamd3-us-west.apache.org) (209.188.14.142) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 31 Aug 2016 13:44:49 +0000 Received: from localhost (localhost [127.0.0.1]) by spamd3-us-west.apache.org (ASF Mail Server at spamd3-us-west.apache.org) with ESMTP id 4F25D188741 for ; Wed, 31 Aug 2016 13:44:49 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd3-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: -0.7 X-Spam-Level: X-Spam-Status: No, score=-0.7 tagged_above=-999 required=6.31 tests=[DKIM_SIGNED=0.1, DKIM_VALID=-0.1, RCVD_IN_DNSWL_LOW=-0.7] autolearn=disabled Authentication-Results: spamd3-us-west.apache.org (amavisd-new); dkim=pass (2048-bit key) header.d=sematext-com.20150623.gappssmtp.com Received: from mx2-lw-us.apache.org ([10.40.0.8]) by localhost (spamd3-us-west.apache.org [10.40.0.10]) (amavisd-new, port 10024) with ESMTP id 9sI7ZBqsbQF8 for ; Wed, 31 Aug 2016 13:44:45 +0000 (UTC) Received: from mail-wm0-f41.google.com (mail-wm0-f41.google.com [74.125.82.41]) by mx2-lw-us.apache.org (ASF Mail Server at mx2-lw-us.apache.org) with ESMTPS id 7C8A65F1B8 for ; Wed, 31 Aug 2016 13:44:45 +0000 (UTC) Received: by mail-wm0-f41.google.com with SMTP id d196so29744895wmd.0 for ; Wed, 31 Aug 2016 06:44:45 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=sematext-com.20150623.gappssmtp.com; s=20150623; h=subject:to:references:from:message-id:date:user-agent:mime-version :in-reply-to:content-transfer-encoding; bh=RHSiuc9qkLUdhGINMDPq4Bt5c5Chckxd/j8wIbbYerA=; b=FB9ti9etk+Cs3mxoNZqvGYsrNcOr4oYPgMVm/Sv0XTjSRu4J6viivtkXg3dYtyZ7Ep 5Twh+n7MUIT7lEvutFlsdp/6FY/KAwOk+PXC/YujBauHOSXM/Z3ROpL6iUJW3OG5mzu0 FCupibfGxpxiLc7WN3DMX7uFqqz0lAlLUOSw3UDnFigyMPlA9R0gFUSt0SJAi+1WFD3s +X5foFigWFTVgInXMTB3IJcWh08y3Yn69jeBzKGuI5ysK/6S1KM/IEpnfSahIz4iH585 WLBO2SAjfYr9/cJAPkFfikabj5p0yZAoJM6TpeX4NiZGHPigh4RiKYYrgZPj6zrJoas8 /71A== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:subject:to:references:from:message-id:date :user-agent:mime-version:in-reply-to:content-transfer-encoding; bh=RHSiuc9qkLUdhGINMDPq4Bt5c5Chckxd/j8wIbbYerA=; b=N0ZltwaB7GaJml0UBQ5yBp59+AzZ+8tlooYPSQqft6+8A2nzhEgpnnx1Finqjm6FEq 2WS+y/zyZE9gnpc9TBnFP3/iBlST6zlxF5TSPkuUp8E1xwideyQAx+SnoiEYa9VbFOX6 4Sbl+jRK/YBcDzfA1hzhwUdROI9GjqOJyYo/AOIIzPKcrUmvyWV9QgV4pHAaR0MN/At0 APi+1CadgXD7o6s7U4SKLXSisDDtNWePo2dXUfK7M1VimepD2KW2G0BMlfM9VVnDA7e2 ZlKPXq4Zi+Kw3+L0wM/FZUaeV5GNsrOPS26ZU2kZF8nIGqszTwa3F2sw56/fajoepBw/ +gnA== X-Gm-Message-State: AE9vXwMoBb2mAlCwQFTncuhtG8i8eMKWbKsPGh/x8QNB3QUwi6d6zIDo+iFvrnsNhVNlYg== X-Received: by 10.28.74.217 with SMTP id n86mr62325wmi.84.1472651084137; Wed, 31 Aug 2016 06:44:44 -0700 (PDT) Received: from [192.168.0.106] (cable-77-77-225-159.dynamic.telemach.ba. [77.77.225.159]) by smtp.gmail.com with ESMTPSA id v189sm23787782wmv.12.2016.08.31.06.44.43 for (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Wed, 31 Aug 2016 06:44:43 -0700 (PDT) Subject: Re: query issue To: solr-user@lucene.apache.org References: <804839503.8801438.1472649355863.JavaMail.zimbra@comcast.net> From: Emir Arnautovic Message-ID: Date: Wed, 31 Aug 2016 15:44:41 +0200 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:45.0) Gecko/20100101 Thunderbird/45.2.0 MIME-Version: 1.0 In-Reply-To: <804839503.8801438.1472649355863.JavaMail.zimbra@comcast.net> Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit archived-at: Wed, 31 Aug 2016 13:44:53 -0000 Hi Kris, It is because there is no token 'ddd' in content field. There are tokens that start with 'ddd', but that is not what you asked for. If you want 'ddd' to match 'ddddddddd' than your query should be content:ddd* Please take a look at how Solr tokenization works: https://cwiki.apache.org/confluence/display/solr/Understanding+Analyzers%2C+Tokenizers%2C+and+Filters Regrads, Emir On 31.08.2016 15:15, KRIS MUSSHORN wrote: > SOLR 5.4.1. > > > > > Executing query content:ddd on the core below in the solr web interface returns no documents but query content:Dispatches returns doc 1. Why does the first query return no documents? > > > > > > Doc 1 > > { > > "id":"https://snip/inside/news/dispatches/view.cfm?id=2571", > > > > > "url":"https://snip/inside/news/dispatches/view.cfm?id=2571", > > > > > "content":"Dispatches - DISPATCH Security, and 508 Notice Powered By Authentication"], > > > > > "_version_":1544180960786907136, > > > > > "entity_type":"node", > > > > > "timestamp":"2016-08-31T12:15:22.165Z"}, > Doc 2 > { > "id":"epwb95/node/3", > "site":"https://snip/drupaldev/", > "hash":"epwb95", > "entity_id":3, > "entity_type":"node", > "bundle":"page", > "bundle_name":"Basic page", > "ss_language":"und", > "path":"node/3", > "url":"https://snip/drupaldev/me/about", > "path_alias":"me/about", > "label":"About", > "spell":["About", > " About me page testing "], > "content":" About me page testing ", > "teaser":" About me page testing ", > "ss_name":"kmusshorn", > "tos_name":"kmusshorn", > "ss_name_formatted":"kmusshorn", > "tos_name_formatted":"kmusshorn", > "is_uid":6, > "bs_status":true, > "bs_sticky":false, > "bs_promote":false, > "is_tnid":0, > "bs_translate":false, > "ds_created":"2016-08-15T12:54:10Z", > "ds_changed":"2016-08-16T17:31:47Z", > "ds_last_comment_or_change":"2016-08-16T17:31:47Z", > "_version_":1544181596777611264, > "timestamp":"2016-08-31T12:25:28.714Z"}, > Doc 3 > { > "id":"epwb95/node/10", > "site":"https://snip/drupaldev/", > "hash":"epwb95", > "entity_id":10, > "entity_type":"node", > "bundle":"blog", > "bundle_name":"Blog entry", > "ss_language":"und", > "path":"node/10", > "url":"https://snip/drupaldev/node/10", > "label":"Blogging", > "spell":["Blogging", > " kmusshorn's blog ddddddddddddd "], > "content":" kmusshorn's blog ddddddddddddd ", > "teaser":" kmusshorn's blog ddddddddddddd ", > "ss_name":"kmusshorn", > "tos_name":"kmusshorn", > "ss_name_formatted":"kmusshorn", > "tos_name_formatted":"kmusshorn", > "is_uid":6, > "bs_status":true, > "bs_sticky":false, > "bs_promote":true, > "is_tnid":0, > "bs_translate":false, > "ds_created":"2016-08-16T14:18:13Z", > "ds_changed":"2016-08-16T14:18:13Z", > "ds_last_comment_or_change":"2016-08-16T14:18:13Z", > "_version_":1544181596783902720, > "timestamp":"2016-08-31T12:25:28.714Z"}] > }} > -- Monitoring * Alerting * Anomaly Detection * Centralized Log Management Solr & Elasticsearch Support * http://sematext.com/