Skip to content

Fix solr compare records output - #203

Open
kouralex wants to merge 2 commits into
NatLibFi:devfrom
kouralex:fix-solr-compare-records-output
Open

Fix solr compare records output#203
kouralex wants to merge 2 commits into
NatLibFi:devfrom
kouralex:fix-solr-compare-records-output

Conversation

@kouralex

Copy link
Copy Markdown
Contributor

Running ./console solr:compare-records after indexing a direct file import and importing them again via the same file results in displaying excessive changes. It seems like some fields are created internally by Solr whilst indexing and those do not exist from RecordManager's view for some reason.

@EreMaijala EreMaijala left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Adding callnumber-search makes sense, but unless I missed something the rest of the fields are only present in the downstream Finna-specfic version and should be listed there, if anywhere. Note that you can always add any desired fields to the ignore_in_comparison setting in [Solr] section of recordmanager.ini.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants