Exporting Result Sets - Apache Solr Reference Guide - Apache Software Foundation
Meta-Documentation The cases where this functionality may be useful include: session analysis, distributed merge joins, time series roll-ups, aggregations on high cardinality fields, fully distributed field collapsing, and sort based stats. Field Requirements All the fields being sorted and exported must have docValues set to true. For more information, see the section on DocValues . Defining the /export Request Handler To export the full sorted result set you'll want to use a request handler explicitly configured to only run the "query" component, using the the export "rq" and "wt" params. An " /export " request handler with the appropriate configuration is included in the techproducts example solrconfig.xml . If however, you would like to add it to an existing solrconfig.xml , you can add a section like this: Note that this request handler's properties are defined as "invariants",Read full article from Exporting Result Sets - Apache Solr Reference Guide - Apache Software Foundation
No comments:
Post a Comment