What I wanted was a was to determine that simply the query q="one two" is equivalent to q="two one", by normalizing I might have
q="one two" for both for example, and then the q.hashCode() would be the same Simply using q.hashCode() returns different values for each query above so this is not suitable Cheers Dan On Thu, Sep 9, 2010 at 3:36 PM, Markus Jelsma <markus.jel...@buyways.nl>wrote: > LuceneQParser > > http://lucene.apache.org/java/2_4_0/queryparsersyntax.html#Proximity%20Searches > > DismaxQParser > http://wiki.apache.org/solr/DisMaxQParserPlugin#qs_.28Query_Phrase_Slop.29 > > > On Thursday 09 September 2010 15:08:41 dan sutton wrote: > > Hi, > > > > Does anyone know how I might normalized a query so that e.g. q="one two" > > equals q="two one" > > > > Cheers, > > Dan > > > > Markus Jelsma - Technisch Architect - Buyways BV > http://www.linkedin.com/in/markus17 > 050-8536620 / 06-50258350 > >