Hi all,

I'd like to add a queryfield to the callnumber-query. The value is at least in the imported MARC-Data in the field 852 Subfield 9.
I added to marc_local.properties this: callnumber-swf: 8529
Then I added to IndexRecord.php this function to be able to call the callnumber where I need it:

    protected function getCallNumberSWF()
         return isset($this->fields['callnumber-swf']) ?
            $this->fields['callnumber-swf'] : '';

In the searchsepcs.yaml I added in the section Callnumber this queryfields:
  - callnumber-swf:
      - [onephrase, ~]

Finally as I wanted to reindex I received the error that the field "callnumber-swf" could not be found. What did I do wrong?
thanks in advance,


p.d.: as a programming newbie I hope it's not total scrap what I wrote here. Thanks for your patience!