Hi Doug, did you implement such a feature yet? I know i am bothering you with these phrasequery issues...sorry... and, thank you. We all appreciate you.
Paolo. PS: search engine that support that use a sintax like: "a b c" w/10 "a f g" for this type of query, users do not like to use "(" much. Jochen wrote: > Please disregard my prior post. I see that I outed myself as stupid. This was not a stupid request, but a reasonable one. In fact I currently have a contract to implement such a feature. It should show up in the next month or so. Doug >>-----Original Message----- >>From: Jochen [mailto:[EMAIL PROTECTED] >>Sent: Wednesday, January 07, 2004 8:48 AM >>To: 'Lucene Developers List' >>Subject: New Query Type(s) >> >>Lucene Gurus: >> >> After looking at and trying out lucene for quite some time (and >>liking it), I would like to create some advanced queries to speed up our >>system. The first one I need to be as follows: >> >> (+"a b c" +"d e")~10 >> >> In other words, I need to run a query in where two phrases (for >>right now an exact match will be fine) are in some defined proximity (in >>this example, I need "a b c" somewhere close to "d e"). >> >> The indexes created nicely support this kind of functionality, and >>the pieces of are all implemented (PhraseQuery, BooleanQuery, PhraseQuery >>with Slop). However, I believe that they cannot be stringed together with >>the current lucene version, to give me what I need. >> >> I have studied the code and I will write the code to create this >>type of query (and make it available, if I get it working), but I would >>very >>much appreciate a high level roadmap from more experienced people (i.e. >>create a new Query Object, change this and that object to do such and such >>...). >> >> Cheers! >> Jochen