From solr-user-return-71301-apmail-lucene-solr-user-archive=lucene.apache.org@lucene.apache.org Mon Sep 3 08:52:35 2012 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 856619909 for ; Mon, 3 Sep 2012 08:52:35 +0000 (UTC) Received: (qmail 83380 invoked by uid 500); 3 Sep 2012 08:52:32 -0000 Delivered-To: apmail-lucene-solr-user-archive@lucene.apache.org Received: (qmail 83217 invoked by uid 500); 3 Sep 2012 08:52:31 -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 83204 invoked by uid 99); 3 Sep 2012 08:52:31 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 03 Sep 2012 08:52:31 +0000 X-ASF-Spam-Status: No, hits=1.3 required=5.0 tests=FSL_RCVD_USER,SPF_PASS,URI_HEX X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: local policy) Received: from [78.47.156.132] (HELO mail.cms-agenten.de) (78.47.156.132) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 03 Sep 2012 08:52:24 +0000 Received: by mail.cms-agenten.de (Postfix, from userid 5001) id D74B725147; Mon, 3 Sep 2012 10:52:03 +0200 (CEST) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on vhs1.cms-agenten.de X-Spam-Level: Received: from [10.0.7.68] (ppp-188-174-5-6.dynamic.mnet-online.de [188.174.5.6]) by mail.cms-agenten.de (Postfix) with ESMTPSA id BDDA924FCA for ; Mon, 3 Sep 2012 10:52:01 +0200 (CEST) Content-Type: text/plain; charset=us-ascii Mime-Version: 1.0 (Apple Message framework v1278) Subject: Re: Antwort: Re: Antwort: Re: Query during a query From: Chantal Ackermann In-Reply-To: Date: Mon, 3 Sep 2012 10:52:00 +0200 Content-Transfer-Encoding: quoted-printable Message-Id: <05235335-C2CD-4FE0-A306-0E13F2C2D309@it-agenten.com> References: <1346391768427-4004631.post@n3.nabble.com> <326F1A68AF294DAC8FD8082D040CBDC0@JackKrupansky> To: solr-user@lucene.apache.org X-Mailer: Apple Mail (2.1278) X-Old-Spam-Status: No, score=-1.8 required=5.0 tests=ALL_TRUSTED,BAYES_00, FSL_RCVD_USER,URI_HEX autolearn=no version=3.3.1 Hi Johannes, on production, SOLR is better a backend service to your actual web = application: Client (Browser) <---> Web App <---> Solr Server Very much like a database. The processes are implemented in your Web = App, and when they require results from Solr for whatever reason they = simply query it. Chantal Am 03.09.2012 um 06:48 schrieb Johannes.Schwendinger@blum.com: > The problem is, that I don't know how to do this. :P >=20 > My sequence: the user enters his search words. This is sent to solr. = There=20 > I need to make another query first to get metadata from the index. = with=20 > this metadata I have to connect to an external source to get some=20 > information about the user. With this information and the first search=20= > words I query then the solr index to get the search result. >=20 > I hope its clear now wheres my problem and what I want to do >=20 > Regards, > Johannes >=20 >=20 >=20 > Von: > "Jack Krupansky" > An: > > Datum: > 31.08.2012 15:03 > Betreff: > Re: Antwort: Re: Query during a query >=20 >=20 >=20 > So, just do another query before doing the main query. What's the = problem?=20 >=20 > Be more specific. Walk us through the sequence of processing that you=20= > need. >=20 > -- Jack Krupansky >=20 > -----Original Message-----=20 > From: Johannes.Schwendinger@blum.com > Sent: Friday, August 31, 2012 1:52 AM > To: solr-user@lucene.apache.org > Subject: Antwort: Re: Query during a query >=20 > Thanks for the answer, but I want to know how I can do a seperate = query > before the main query. > And I only want this data in my programm. The user won't see it. > I need the values from one field to get some information from an = external > source while the main query is executed. >=20 > pravesh schrieb am 31.08.2012 07:42:48: >=20 >> Von: >>=20 >> pravesh >>=20 >> An: >>=20 >> solr-user@lucene.apache.org >>=20 >> Datum: >>=20 >> 31.08.2012 07:43 >>=20 >> Betreff: >>=20 >> Re: Query during a query >>=20 >> Did you checked SOLR Field Collapsing/Grouping. >> http://wiki.apache.org/solr/FieldCollapsing >> http://wiki.apache.org/solr/FieldCollapsing >> If this is what you are looking for. >>=20 >>=20 >> Thanx >> Pravesh >>=20 >>=20 >>=20 >> -- >> View this message in context: http://lucene.472066.n3.nabble.com/ >> Query-during-a-query-tp4004624p4004631.html >> Sent from the Solr - User mailing list archive at Nabble.com.=20 >=20 >=20