: My data, found with solr needs to be tested against matching regular : expression formed at auery time. to avoid sending big data chunks via http : i've suggested that results can be verified on solr side before they sent to : client.
are you saying you want to filter the documents that match based on aregular expression, or that you want the same docs to match that already do, but you want to prevent some of the stored fields of those docs from being returned to the client based on wether or not they match a regex? the first problem can be solved by using something like the RegexQuery class from one of the Lucene contribs. if it's the same regex everytime a simple QueryComponent to apply your RegexQuery sa a Filter should be straight forward. the later problem can be solved using a custom ResponseWriter ... you can subclass the XmlResponseWriter and munge the field values any way you want before writing them out. -Hoss