Thank you very much, I've tried both the way that you have suggested to me. Then I've choosen to re-write the parse method by extending ExtendedDismaxQParser class.
Francesco. -----Messaggio originale----- Da: Tomás Fernández Löbbe [mailto:tomasflo...@gmail.com] Inviato: mercoledì 6 marzo 2013 19:39 A: solr-user@lucene.apache.org Oggetto: Re: Query parsing issue It should be easy to extend ExtendedDismaxQParser and do your pre-processing in the parse() method before calling edismax's parse. Or maybe you could change the way EDismax is splitting the input query into clauses by extending the "splitIntoClauses" method? Tomás On Wed, Mar 6, 2013 at 6:37 AM, Francesco Valentini < francesco.valent...@altiliagroup.com> wrote: > Hi, > > > > Ive written my own analyzer to index and query a set of documents. At > indexing time everything goes well but > > now I have a problem in query phase. > > I need to pass the whole query string to my analyzer before the > edismax query parser begins its tasks. > > In other words I have to preprocess the raw query string. > > The phrase querying does not fit my needs because I dont have to > match the entire set of terms/tokens. > > How can I achieve this? > > > > Thank you in advance. > > > > > > Francesco > > > >