Re: eXist, Lucene and XQuery

2008-09-22 Thread adasal
OK, right, that figures. Adam 2008/9/22 Gustavo Corral <[EMAIL PROTECTED]> > Thanks a lot Adam, > > actually I'm returning now a plain ValueSequence instead a NodeSet and all > is working great now. It seems like NodeSet needs a predefined order to all > the algorithms work in the correct way. >

Re: eXist, Lucene and XQuery

2008-09-22 Thread Gustavo Corral
Thanks a lot Adam, actually I'm returning now a plain ValueSequence instead a NodeSet and all is working great now. It seems like NodeSet needs a predefined order to all the algorithms work in the correct way. Gustavo

Re: eXist, Lucene and XQuery

2008-09-22 Thread adasal
Ah, hi Gustavo, I actually don't know this, but it seems that the implementation of XQuery in eXist places your results in an unsorted list! Or possibly it is placed in a hashmap with its own bindings representing, for instance, data types and so on? Thinking about this, I believe it is possible to

eXist, Lucene and XQuery

2008-09-20 Thread Gustavo Corral
Hi list, I have some days with a problem and I hope anybody can help me. I have developed an extension module to search documents in an eXist collection using Lucene. The module works fine and returns a Sequence with all the documents matching a query sorted by the score of Lucene, but when I call