01: /*
02: * Copyright 2006 Day Management AG, Switzerland. All rights reserved.
03: */
04: package javax.jcr.query.qom;
05:
06: /**
07: * Evaluates to a <code>DOUBLE</code> value equal to the full-text search score
08: * of a node.
09: * <p/>
10: * Full-text search score ranks a selector's nodes by their relevance to the
11: * <code>fullTextSearchExpression</code> specified in a {@link FullTextSearch}.
12: * The values to which <code>FullTextSearchScore</code> evaluates and the
13: * interpretation of those values are implementation specific.
14: * <code>FullTextSearchScore</code> may evaluate to a constant value in a
15: * repository that does not support full-text search scoring or has no
16: * full-text indexed properties.
17: * <p/>
18: * The query is invalid if {@link #getSelectorName selector} is not the name
19: * of a selector in the query.
20: *
21: * @since JCR 2.0
22: */
23: public interface FullTextSearchScore extends DynamicOperand {
24: /**
25: * Gets the name of the selector against which to evaluate this operand.
26: *
27: * @return the selector name; non-null
28: */
29: public String getSelectorName();
30: }
31:
32: // EOF
|