It's ok.. I did it and I took the query string. The problem is convert the java.lang.string (query) in a list of term and operators and doing it using the same parser used by Solr to execute the queries.
2012/10/4 Mikhail Khludnev <[email protected]> > you've got ResponseBuilder as process() or prepare() argument, check > "query" field, but your component should be registered after QueryComponent > in your requestHandler config. > > On Thu, Oct 4, 2012 at 6:03 PM, Davide Lorenzo Marino < > [email protected]> wrote: > > > Hi All, > > i'm working in a new searchComponent that analyze the search queries. > > I need to know if given a query string is possible to get the list of > > operators and terms (better in polish notation)? > > I mean if the default field is "country" and the query is the String > > > > "england OR (name:paul AND city:rome)" > > > > to get the List > > > > [ Operator OR, Term country:england, OPERATOR AND, Term name:paul, Term > > city:rome ] > > > > Thanks in advance > > > > Davide Marino > > > > > > -- > Sincerely yours > Mikhail Khludnev > Tech Lead > Grid Dynamics > > <http://www.griddynamics.com> > <[email protected]> >
