Re: Adding filter in custom query parser

2014-10-05 Thread sagarprasad
Thanks Cris and Jack for you reply. @Cris, Can i some samples or examples of overriding search Component. Performance wise, whether it is advisable to do this logic at application layer or SOLR search component layer. -Thanks -- View this message in context: http://lucene.472066.n3.nabble.

Re: Adding filter in custom query parser

2014-10-01 Thread Chris Hostetter
: For eg : "red shirt under 20$" should be translated to q=shirt&fq=price:[* : TO 20] and possibly apply color to one the attribute of doc index. : : in parser overrided method, how can i add the filter and pass the query : back? I don't think you can acomplish this just within the QParser API .

Re: Adding filter in custom query parser

2014-10-01 Thread Jack Krupansky
Unless you consider yourself to be a "Solr expert", it would be best to implement such query translation in an application layer. -- Jack Krupansky -Original Message- From: sagarprasad Sent: Wednesday, October 1, 2014 3:27 AM To: solr-user@lucene.apache.org Subject: Adding filter in c