lucene-solr-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Garrick Plagge <garrick.pla...@resourcenation.com>
Subject Solr variable substitution question
Date Fri, 09 Sep 2011 00:00:59 GMT
Is there an easy way without out writing custom response writers to accept a
parameter on the request URL and then substitute that value in the response?



For example, if an index field is setup and a value like the following is
added to a field:



http://www.google.com/?partner={$partner}



If that is stored, and this is queried:

http://qanetwork.business.com/solr/select/?q=*%3A*&version=2.2&start=0&rows=10&indent=on&partner=foobar



Can the results be converted to this?

http://www.google.com/?partner=foobar

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message