Andy Armstrong wrote:

Sorry, more full text index related questions...

I'd like to add some IDX_* FaultCodes to handle the kind of errors that can occur with Lucence indexes. I'm clearly being stupid here but what's the significance of the fault code numbering? The fact that they're not just numbered sequentially implies that there's an external dependency I'm not aware of.


Think of non-java interfaces to the xindice (via XML-RPC), such as PHP or Perl, and think of xindice own XML-RPC driver. XML-RPC can not pass arbitrary exceptions, and can pass only fault code. This fault code (in current CVS) is a combination of XML:DB error code and Xindice fault code.

Vadim



Reply via email to