|
Luigi Homepage | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface DocumentBuilder
This builder helps creating and updating indexes by mapping regular POJOs to Lucene data types like Document and Term. It is assumed that an Object will have a key value that can be used to uniquely identify the document described by it.
| Method Summary | |
|---|---|
Document |
build(Object searchable)
Builds a document for the object. |
Term |
keyTerm(Object searchable)
Gives the Term that uniquely identifies the objet in an index. |
| Method Detail |
|---|
Document build(Object searchable)
searchable - the target searchable object
Term keyTerm(Object searchable)
searchable - the target searchable object
|
Luigi Homepage | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||