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 75E88DFD8 for ; Sun, 9 Sep 2012 21:53:47 +0000 (UTC) Received: (qmail 4346 invoked by uid 500); 9 Sep 2012 21:53:44 -0000 Delivered-To: apmail-lucene-solr-user-archive@lucene.apache.org Received: (qmail 4293 invoked by uid 500); 9 Sep 2012 21:53:44 -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 4283 invoked by uid 99); 9 Sep 2012 21:53:44 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 09 Sep 2012 21:53:44 +0000 X-ASF-Spam-Status: No, hits=3.0 required=5.0 tests=FORGED_YAHOO_RCVD,FSL_RCVD_USER,SPF_NEUTRAL,URI_HEX X-Spam-Check-By: apache.org Received-SPF: neutral (athena.apache.org: local policy) Received: from [216.139.236.26] (HELO sam.nabble.com) (216.139.236.26) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 09 Sep 2012 21:53:39 +0000 Received: from ben.nabble.com ([192.168.236.152]) by sam.nabble.com with esmtp (Exim 4.72) (envelope-from ) id 1TApRO-0007Yy-5I for solr-user@lucene.apache.org; Sun, 09 Sep 2012 14:53:18 -0700 Date: Sun, 9 Sep 2012 14:53:18 -0700 (PDT) From: simple350 To: solr-user@lucene.apache.org Message-ID: <1347227598151-4006491.post@n3.nabble.com> Subject: Use field as bool flag for another, not indexed, field 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, I want to be able to select from the index the documents who have a certain field not null. The problem is that the field is not indexed just stored. I'm not interested in indexing that field as it is just an internal URL. The idea was to add another field to the document - a boolean field - based on the initial field: 'True' for exiting field, 'False' for null - I could copy the initial field and use some analyzer having as output a bool result. Before trying to build a custom analyzer I wanted to ask if anything like this makes sense or if it is already available in Solr or if I completely missed some point. Regards, Alex -- View this message in context: http://lucene.472066.n3.nabble.com/Use-field-as-bool-flag-for-another-not-indexed-field-tp4006491.html Sent from the Solr - User mailing list archive at Nabble.com.