Revision 32195 branches/v2_0_0_prep/libraries/libGeocoding/src/org/gvsig/geocoding/impl/LuceneGeocoderImpl.java
LuceneGeocoderImpl.java | ||
---|---|---|
168 | 168 |
|
169 | 169 |
Set<GeocodingResult> results = new TreeSet<GeocodingResult>(); |
170 | 170 |
// get the style |
171 |
AbstractGeocodingStyle astyle = getPattern().getSource().getStyle(); |
|
171 |
AbstractGeocodingStyle astyle = getPattern().getDataSource().getStyle();
|
|
172 | 172 |
// get literal with relations with the store |
173 | 173 |
Literal relationsLiteral = astyle.getRelationsLiteral(); |
174 | 174 |
// list of list with one or more literal results |
... | ... | |
248 | 248 |
|
249 | 249 |
List<ScoredFeature> scorefeats = new ArrayList<ScoredFeature>(); |
250 | 250 |
|
251 |
double minScore = getPattern().getSettings().getScore(); |
|
251 |
double minScore = getPattern().getSettings().getMinScore();
|
|
252 | 252 |
|
253 | 253 |
// search |
254 | 254 |
Hits hits = seachOnIndex(relationsLiteral, addressLiteral); |
Also available in: Unified diff