Hi everybody,
hopefully my last question on scoring (sorry for this, but i'm a newbie
concerning lucene)...
Okay, we can surely implement custom classes like Similarities, Scorers,
Weights, Queries. But what is the best practice to embed those into
JackRabbit? Is there a way i can do this seamlessly without diggin too deep
in JackRabbit's sources? Something plugin like? Where is a good starting
point?
I'm used to fire a search like this:
QueryManager qm = ws.getQueryManager();
Query q = qm.createQuery("//element(*, nt:file)[jcr:contains(jcr:content,
'foo')] order by jcr:score() descending", Query.XPATH);
QueryResult result = q.execute();
But i don't see anything to put my custom objects in, neither at runtime in
QueryManager nor in Query nor at design time in any config entry...
Please help! Once more thanks a lot
Flo
--
View this message in context:
http://www.nabble.com/Where-to-embed-custom-Similarity%2C-Scorer%2C-Weight%2C-Query...--tp19351589p19351589.html
Sent from the Jackrabbit - Dev mailing list archive at Nabble.com.