org.apache.lucene.swing.models

Class ListSearcher


public class ListSearcher
extends AbstractListModel

See table searcher explanation.
Author:
Jonathan Simon - jonathan_s_simon@yahoo.com

Constructor Summary

ListSearcher(ListModel newModel)

Method Summary

Analyzer
getAnalyzer()
Object
getElementAt(int index)
int
getSize()
void
search(String searchString)
Run a new search.
void
setAnalyzer(Analyzer analyzer)

Constructor Details

ListSearcher

public ListSearcher(ListModel newModel)

Method Details

getAnalyzer

public Analyzer getAnalyzer()
Returns:
The current lucene analyzer

getElementAt

public Object getElementAt(int index)

getSize

public int getSize()

search

public void search(String searchString)
Run a new search.
Parameters:
searchString - Any valid lucene search string

setAnalyzer

public void setAnalyzer(Analyzer analyzer)
Parameters:
analyzer - The new analyzer to use

Copyright © 2000-2006 Apache Software Foundation. All Rights Reserved.