If you don't do what Chantal indicates, you allow your users to issue requests like: http://localhost:8983/solr/update?stream.body=<delete><query>*:*</query></delete>
Followed by: http://localhost:8983/solr/update?stream.body=<commit/> Presto! You have an index with zero documents..... Best Erick On Mon, Sep 3, 2012 at 4:52 AM, Chantal Ackermann <c.ackerm...@it-agenten.com> wrote: > 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.schwendin...@blum.com: > >> The problem is, that I don't know how to do this. :P >> >> My sequence: the user enters his search words. This is sent to solr. There >> I need to make another query first to get metadata from the index. with >> this metadata I have to connect to an external source to get some >> information about the user. With this information and the first search >> words I query then the solr index to get the search result. >> >> I hope its clear now wheres my problem and what I want to do >> >> Regards, >> Johannes >> >> >> >> Von: >> "Jack Krupansky" <j...@basetechnology.com> >> An: >> <solr-user@lucene.apache.org> >> Datum: >> 31.08.2012 15:03 >> Betreff: >> Re: Antwort: Re: Query during a query >> >> >> >> So, just do another query before doing the main query. What's the problem? >> >> Be more specific. Walk us through the sequence of processing that you >> need. >> >> -- Jack Krupansky >> >> -----Original Message----- >> From: johannes.schwendin...@blum.com >> Sent: Friday, August 31, 2012 1:52 AM >> To: solr-user@lucene.apache.org >> Subject: Antwort: Re: Query during a query >> >> 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. >> >> pravesh <suyalprav...@yahoo.com> schrieb am 31.08.2012 07:42:48: >> >>> Von: >>> >>> pravesh <suyalprav...@yahoo.com> >>> >>> An: >>> >>> solr-user@lucene.apache.org >>> >>> Datum: >>> >>> 31.08.2012 07:43 >>> >>> Betreff: >>> >>> Re: Query during a query >>> >>> 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. >>> >>> >>> Thanx >>> Pravesh >>> >>> >>> >>> -- >>> 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. >> >> >