I have the following solr fields in schema.xml:
- id (string)
- name (string)
- category(string)
- latitude (double)
- longitude(double)
Is it possible to make a query that groups by category and returns the
average of latitude and longitude instead of the doclist?
Thanks,
Pablo
What is the best way to get a float field value from docID?
I tried the following code but when it runs throws an exception For input
string: "`??eI" at line float lat = Float.parseFloat(tlat);
schemal.xml:
...
...
component.java:
@Override
public void process(ResponseBuilder rb) thro