Revision 32195
branches/v2_0_0_prep/libraries/libGeocoding/src/org/gvsig/geocoding/impl/DataGeocoderImpl.java | ||
---|---|---|
145 | 145 |
|
146 | 146 |
Set<GeocodingResult> results = new TreeSet<GeocodingResult>(); |
147 | 147 |
// get the style |
148 |
AbstractGeocodingStyle astyle = getPattern().getSource().getStyle(); |
|
148 |
AbstractGeocodingStyle astyle = getPattern().getDataSource().getStyle();
|
|
149 | 149 |
// get literal with relations with the store |
150 | 150 |
Literal relationsLiteral = astyle.getRelationsLiteral(); |
151 | 151 |
// list of list with one or more literal results |
branches/v2_0_0_prep/libraries/libGeocoding/src/org/gvsig/geocoding/impl/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