I get a parse error (looking at a user's list question) when trying to do something like: q=lat_lon_field:[* TO *], something like:
INFO - 2015-09-16 15:48:56.072; [ x:techproducts] org.apache.solr.core.SolrCore; [techproducts] webapp=/solr path=/query params={q=*:*+-store:[*+TO+*]} status=500 QTime=2 ERROR - 2015-09-16 15:48:56.073; [ x:techproducts] org.apache.solr.common.SolrException; null:java.lang.NullPointerException at java.lang.String.contains(String.java:2121) at org.apache.solr.util.SpatialUtils.parsePointSolrException(SpatialUtils.java:111) at org.apache.solr.schema.LatLonType.getRangeQuery(LatLonType.java:97) at org.apache.solr.parser.SolrQueryParserBase.getRangeQuery(SolrQueryParserBase.java:770) at org.apache.solr.parser.QueryParser.Term(QueryParser.java:398) at org.apache.solr.parser.QueryParser.Clause(QueryParser.java:186) at org.apache.solr.parser.QueryParser.Query(QueryParser.java:140) at org.apache.solr.parser.QueryParser.TopLevelQuery(QueryParser.java:96) at org.apache.solr.parser.SolrQueryParserBase.parse(SolrQueryParserBase.java:153) at org.apache.solr.search.LuceneQParser.parse(LuceneQParser.java:50) at org.apache.solr.search.QParser.getQuery(QParser.java:141) Of course you can do something like lat_lon_field_0_coordinate:[* TO *], but that's kind of arcane. Or use the trick of having a "has_lan_lon" field that you query on instead for this case... Worth a JIRA? --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscr...@lucene.apache.org For additional commands, e-mail: dev-h...@lucene.apache.org