org.apache.lucene.swing.models
public class ListSearcher extends javax.swing.AbstractListModel
Constructor and Description |
---|
ListSearcher(javax.swing.ListModel newModel) |
Modifier and Type | Method and Description |
---|---|
org.apache.lucene.analysis.Analyzer |
getAnalyzer() |
java.lang.Object |
getElementAt(int index) |
int |
getSize() |
void |
search(java.lang.String searchString)
Run a new search.
|
void |
setAnalyzer(org.apache.lucene.analysis.Analyzer analyzer) |
public void search(java.lang.String searchString)
searchString
- Any valid lucene search stringpublic org.apache.lucene.analysis.Analyzer getAnalyzer()
public void setAnalyzer(org.apache.lucene.analysis.Analyzer analyzer)
analyzer
- The new analyzer to usepublic int getSize()
public java.lang.Object getElementAt(int index)
Copyright © 2000-2014 Apache Software Foundation. All Rights Reserved.