Configure PixolutionParserPlugin

The parser parses the parameters relevant for visual similarity queries.

Here you find an example configuration of the PixolutionParserPlugin. The parser needs to know fieldnames where necessary information is stored and can be read from.

Declare the default query parser with example values:

<queryParser name="pixolutionParser" class="de.pixolution.solr.search.PixolutionParserPlugin">
  <str name="pixolution.fieldname.prefix">pxl_</str>
  <str name="rank.ac.readfrom">keywords</str>
  <str name="rank.ac.searchin">all</str>
</queryParser>

pixolution.fieldname.prefix

This parameter is optional, but becomes mandatory if you wish to use a prefix for pixolution flow related fieldnames. The example above sets pxl_ as prefix. pixolution flow expects all necessary fieldnames to have this prefix (fieldname=[prefix][prescribed_fieldname]). For example, the prescribed fieldname imagedescriptor in the schema must then be named as pxl_imagedescriptor.

rank.ac.readfrom

This parameter can be configured as default in the solrconfig.xml or at runtime. See the Auto Context Runtime Configuration for a full documentation.

rank.ac.searchin

This parameter can be configured as default in the solrconfig.xml or at runtime. See the Auto Context Runtime Configuration for a full documentation.