Github user justinleet commented on a diff in the pull request:

    https://github.com/apache/metron/pull/995#discussion_r183930130
  
    --- Diff: metron-platform/metron-solr/README.md ---
    @@ -95,3 +95,17 @@ As of now, we have mapped out the Schemas in 
`src/main/config/schema`.
     Ambari will eventually install these, but at the moment it's manual and
     you should refer to the Solr documentation 
[https://lucene.apache.org/solr/guide/6_6](here) in general
     and 
[here](https://lucene.apache.org/solr/guide/6_6/documents-fields-and-schema-design.html)
 if you'd like to know more about schemas in Solr.
    +
    +Indexing LatLon and PointType field types stores data in internal fields 
that should not be returned in search results.  For these fields a dynamic 
field type matching the suffix needs to be added to store the data points.
    +For example, a LatLongType field should be defined as:
    +```
    +<dynamicField name="*.location_point" type="location" multiValued="false" 
docValues="false"/>
    +<dynamicField name="*_coordinate" type="pdouble" indexed="true" 
stored="false" docValues="false"/>
    +<fieldType name="location" class="solr.LatLonType" 
subFieldSuffix="_coordinate"/>
    +```
    +A PointType field should be defined as:
    +```
    +<dynamicField name="*._point" type="location" multiValued="false" 
docValues="false"/>
    --- End diff --
    
    This looks like holdover copy paste from the location point. The line below 
looks like what we want.


---

Reply via email to