Re: Solr response writer

2011-12-07 Thread Finotti Simone
apache.org Oggetto: Re: Solr response writer What you can do is index the "redirect" documents along with the associated words, and let Solr do the stemming. Maybe add a "document type" field and if you get a match on a redirect document type, your web service can do w

Re: Solr response writer

2011-12-07 Thread Erik Hatcher
work correctly. > AFAICS, Solr only returns documents matching the request, so I'm missing > something :-( > > S > > Inizio: Michael Kuhlmann [k...@solarier.de] > Inviato: mercoledì 7 dicembre 2011 15.29 > Fine: solr-user@lucene.apache.org > Og

Re: Solr response writer

2011-12-07 Thread Finotti Simone
nizio: Michael Kuhlmann [k...@solarier.de] Inviato: mercoledì 7 dicembre 2011 15.29 Fine: solr-user@lucene.apache.org Oggetto: Re: R: Solr response writer Am 07.12.2011 15:09, schrieb Finotti Simone: > I got your and Michael's point. Indeed, I'm not very skilled in web > devolpme

Re: R: Solr response writer

2011-12-07 Thread Michael Kuhlmann
Am 07.12.2011 15:09, schrieb Finotti Simone: I got your and Michael's point. Indeed, I'm not very skilled in web devolpment so there may be something that I'm missing. Anyway, Endeca does something like this: 1. accept a query 2. does the stemming; 3. check if the result of the step 2. matches

R: Solr response writer

2011-12-07 Thread Finotti Simone
il to see how it would be possible... S Inizio: Erik Hatcher [erik.hatc...@gmail.com] Inviato: mercoledì 7 dicembre 2011 14.40 Fine: solr-user@lucene.apache.org Oggetto: Re: Solr response writer Either way (Endeca's 307, which seems crazy to me) or simp

Re: Solr response writer

2011-12-07 Thread Erik Hatcher
coledì 7 dicembre 2011 14.12 > Fine: solr-user@lucene.apache.org > Oggetto: Re: Solr response writer > > First, could you tell us more about your use case? Why do you want to > change the response code? HTTP 307 = Temporary redirect - where are you > going to redirect? Soun

Re: Solr response writer

2011-12-07 Thread Michael Kuhlmann
Am 07.12.2011 14:26, schrieb Finotti Simone: That's the scenario: I have an XML that maps words W to URLs; when a search request is issued by my web client, a query will be issued to my Solr application. If, after stemming, the query matches any in W, the client must be redirected to the associ

Re: Solr response writer

2011-12-07 Thread Finotti Simone
Erik Hatcher [erik.hatc...@gmail.com] Inviato: mercoledì 7 dicembre 2011 14.12 Fine: solr-user@lucene.apache.org Oggetto: Re: Solr response writer First, could you tell us more about your use case? Why do you want to change the response code? HTTP 307 = Temporary redirect - where are you goi

Re: Solr response writer

2011-12-07 Thread Erik Hatcher
First, could you tell us more about your use case? Why do you want to change the response code? HTTP 307 = Temporary redirect - where are you going to redirect? Sounds like something best handled outside of Solr. If you went down the route of creating your own custom response writer, then

Solr response writer

2011-12-07 Thread Finotti Simone
Hello, I need to change the HTTP result code of the query result if some conditions are met. Analyzing the flow of execution of Solr query process, it seems to me that the "place" that fits better is the QueryResponseWriter. Anyway I didn't found a way to change the HTTP request layout (I need