List Info

Thread: extending query




extending query
user name
2006-04-21 03:20:38
Victor Ng wrote:

> Thanks for the tips.  I think I'm close (probably
not), but my C++ is
> extremely bad and I can't seem to quite figure out how
to get all of this
> to work properly.
>
> Any chance that we'll see the ability to create
extensions to Query?
>
> I think all we need to get MultiTermQuery wrappers
working are extension
> points at the isMultiTermQuery() and
getEnum(IndexReader) methods.

What are you actually trying to do ?
I don't think there isn't much of chance of getting
generic extension 
capabilities because that's too open ended and the wrappers
make that hard.

Are you extending a documented Java Lucene Query extension
point or are you 
doing something else ?

If you're extending something documented as an extension
point (usually 
documented as 'Expert' in the java doc with some comments
as to what the 
extension point is supposed to perform, I can add support
for these things as 
there should be a finite number of these.

So far, I've implemented all the ones needed by unit tests
and samples. If you 
find a documented extension point that is not supported
(I'm sure there are 
many), that is a bug that needs fixing.

Please be more specific about what you're actually trying
to do...
Thanks !

Andi..

_______________________________________________
pylucene-dev mailing list
pylucene-devosafoundation.org
http://lists.osafoundation.org/mailman/listinfo/pylu
cene-dev
extending query
user name
2006-04-21 18:00:05
On 4/20/06, Andi Vajda <osafoundation.org" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">vajdaosafoundation.org>; wrote:

What are you actually trying to do ?
I don't think there isn't much of chance of getting generic extension
capabilities because that's too open ended and the wrappers make that hard.

Are you extending a documented Java Lucene Query extension point or are you
doing something else ?

Hi Andi,

I've been trying to implement a double metaphone encoding and I realized this morning that I don't really have to use MultiTermQuery at all.  I just ended up returning each of the metaphone tokens with the same start/end offset location as the original token.&nbsp; Anyway, everything seems to be working great now.

Sorry to waste your time on this - and thanks for all the work you've put into PyLucene.

vic
[1-2]

about | contact  Other archives ( Real Estate discussion Medical topics )