|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface SearchableObject
This interface represents objects that can be searched with Lucene.
| Method Summary | |
|---|---|
Document |
getDocumentForElement(AudioObject audioObject)
Builds a Lucene Document for a given AudioObject. |
java.util.List<AudioObject> |
getElementsToIndex()
Returns elements to index. |
java.lang.String |
getPathToIndex()
Returns path to index. |
java.util.List<java.lang.String> |
getSearchableAttributes()
Returns a list of attributes that can be used in queries. |
java.lang.String |
getSearchableObjectName()
Returns string representation of this searchable object. |
java.util.List<SearchResult> |
getSearchResult(Hits hits)
Returns result from hits. |
SearchResultTableModel |
getSearchResultsTableModel(java.util.List<SearchResult> results)
Returns a table model to show search results. |
| Method Detail |
|---|
java.lang.String getSearchableObjectName()
java.util.List<java.lang.String> getSearchableAttributes()
java.lang.String getPathToIndex()
java.util.List<SearchResult> getSearchResult(Hits hits)
throws CorruptIndexException,
java.io.IOException
hits - the hits
CorruptIndexException - the corrupt index exception
java.io.IOException - Signals that an I/O exception has occurred.java.util.List<AudioObject> getElementsToIndex()
Document getDocumentForElement(AudioObject audioObject)
audioObject - the audio object
SearchResultTableModel getSearchResultsTableModel(java.util.List<SearchResult> results)
results - the results
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||