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, > > > > I’ve 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 don’t have to match > the entire set of terms/tokens. > > How can I achieve this? > > > > Thank you in advance. > > > > > > Francesco > > > >