|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface StopSearchService
Service interface for searching for Stop
ids by stop code and stop
name.
Method Summary | |
---|---|
SearchResult<org.onebusaway.gtfs.model.AgencyAndId> |
searchForStopsByCode(String code,
int maxResultCount,
double minScoreToKeep)
Search for stop ids by stop code (see Stop.getCode() ). |
SearchResult<org.onebusaway.gtfs.model.AgencyAndId> |
searchForStopsByName(String name,
int maxResultCount,
double minScoreToKeep)
Search for stop ids by stop name (see Stop.getName() ) |
Method Detail |
---|
SearchResult<org.onebusaway.gtfs.model.AgencyAndId> searchForStopsByCode(String code, int maxResultCount, double minScoreToKeep) throws IOException, org.apache.lucene.queryParser.ParseException
Stop.getCode()
). Typically
default to a search against Stop.getId()
if no code is specified
for a stop.
code
- the stop code querymaxResultCount
- maximum number of results to returnminScoreToKeep
- implementation-specific score cutoff for search
results
IOException
org.apache.lucene.queryParser.ParseException
SearchResult<org.onebusaway.gtfs.model.AgencyAndId> searchForStopsByName(String name, int maxResultCount, double minScoreToKeep) throws IOException, org.apache.lucene.queryParser.ParseException
Stop.getName()
)
code
- the stop code querymaxResultCount
- maximum number of results to returnminScoreToKeep
- implementation-specific score cutoff for search
results
IOException
org.apache.lucene.queryParser.ParseException
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |