|
SPT Object Database API | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: REQUIRED | OPTIONAL | DETAIL: ELEMENT | |||||||||
@Documented
@Inherited
@Retention(value=RUNTIME)
@Target(value={TYPE,FIELD})
public @interface SearchableAnnotation for class fields that are to be indexed for full-text search. When specified at the class level, it is possible to specify a number of fields that are to be indexed as a combination making for easier search queries.
© Copyright 2008 Sans Pareil Technologies, Inc.
| Optional Element Summary | |
|---|---|
String[] |
members
The name of the fields in the prevalent object to index. |
String |
name
The name of the field within the lucene document that is represented by this index. |
public abstract String name
members() will be used.
Using the default value will make it harder to compile queries, so it
is recommended that you specify this value as well.
public abstract String[] members
NULL.
|
SPT Object Database API | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: REQUIRED | OPTIONAL | DETAIL: ELEMENT | |||||||||