Re: QueryRootNode constructor

2008-01-08 Thread Marcel Reutegger

Hi Esteban,

In 1.4 QueryNode instances are not created directly anymore but a factory is 
used now: org.apache.jackrabbit.core.query.QueryNodeFactory. There is a default 
implementation available here: 
org.apache.jackrabbit.core.query.DefaultQueryNodeFactory


See also SearchIndex#DEFAULT_QUERY_NODE_FACTORY

regards
 marcel

Esteban Franqueiro wrote:

Hi all.
I was wandering why the QueryRootNode was made protected, instead of public like it used to be. In 
our application we have our own LuceneQueryProvider that contains a QueryRootNode field, but this 
doesn't work anymore with 1.4.

How can I work around this?
Regards,

Esteban Franqueiro
[EMAIL PROTECTED] 



Notice:  This email message, together with any attachments, may contain 
information  of  BEA Systems,  Inc.,  its subsidiaries  and  affiliated 
entities,  that may be confidential,  proprietary,  copyrighted  and/or legally 
privileged, and is intended solely for the use of the individual or entity 
named in this message. If you are not the intended recipient, and have received 
this message in error, please immediately return this by email and then delete 
it.





QueryRootNode constructor

2008-01-04 Thread Esteban Franqueiro
Hi all.
I was wandering why the QueryRootNode was made protected, instead of public 
like it used to be. In 
our application we have our own LuceneQueryProvider that contains a 
QueryRootNode field, but this 
doesn't work anymore with 1.4.
How can I work around this?
Regards,

Esteban Franqueiro
[EMAIL PROTECTED] 


Notice:  This email message, together with any attachments, may contain 
information  of  BEA Systems,  Inc.,  its subsidiaries  and  affiliated 
entities,  that may be confidential,  proprietary,  copyrighted  and/or legally 
privileged, and is intended solely for the use of the individual or entity 
named in this message. If you are not the intended recipient, and have received 
this message in error, please immediately return this by email and then delete 
it.