aw schriftzug.png aw logo 60x60.png

internal package Foswiki::Plugins::JQDataTablesPlugin::SolrConnector

See PublishedAPI for packages intended to be used by Plugin and Contrib authors, or browse all packages.
See also Developing plugins, Developer's Bible, Technical Overview

internal package Foswiki::Plugins::JQDataTablesPlugin::SolrConnector

implements the grid connector interface using a SolrPlugin based backend

ClassMethod getColumnDescription( $columnName, $formDef ) → $propertyName

maps a column name to the actual property in the store.

ClassMethod buildQuery() → $query

creates a query based on the current request, only returns the pure string for the q parameter of solr. any other filters are stored in $this→{_filterQuery} and used in search()

ClassMethod getValueOfResult( $doc, $property, $fieldDef ) → $value

get a property of a result document

ClassMethod search( %params ) → ($total, $totalFiltered, $data)

perform the actual search and fetch result

Topic revision: r1 - 2018-02-27, UnknownUser
This site is powered by FoswikiCopyright &© by the contributing authors. All material on this site is the property of the contributing authors.
Ideas, requests, problems regarding Wiki? Send feedback