Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

geodist() cannot be used in projection [DATASOLR-130] #255

spring-projects-issues opened this issue Dec 2, 2013 · 1 comment

geodist() cannot be used in projection [DATASOLR-130] #255

spring-projects-issues opened this issue Dec 2, 2013 · 1 comment


Copy link

@spring-projects-issues spring-projects-issues commented Dec 2, 2013

Christoph Strobl opened DATASOLR-130 and commented

following code throws UncategorizedSolrExecption while parsing filed geodist() having not enought parameters.

ProductBean locatedInBuffalow = createProductBean("100", 5, true);

ProductBean locatedInNYC = createProductBean("200", 5, true);
locatedInNYC.setLocation("40.7143,-74.006");, locatedInNYC));

Criteria criteria = new Criteria("popularity").is(5).and("store").within(new GeoLocation(45.15, -93.85), new Distance(5));
SimpleQuery query = new SimpleQuery(criteria);

Affects: 1.0 GA, 1.1 M1 (Codd)

Reference URL:

Issue Links:

  • DATASOLR-132 Add support for solr functions
    ("depends on")
  • DATASOLR-122 Ability to return distance with the returned solr documents
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
None yet
Linked pull requests

Successfully merging a pull request may close this issue.

None yet
2 participants