chenejac / VIVOTestMigrationJIRA

0 stars 0 forks source link

VIVO-1911: ALLTEXT field in search index not as robust as before #1801

Closed chenejac closed 3 years ago

chenejac commented 4 years ago

Benjamin Gross (Migrated from VIVO-1911) said:

[~accountid:557058:3f53c733-6ac2-4e92-9f12-e34e297283a3] surfaced an issue where the ALLTEXT field in the search index does not contain as much information as before. 

  {panel:title=Slack conversation } Benjamin Gross  10:08 AM

@Brian Lowe can you give the example for what you expect in Alltext again? I don't have anything running 1.10 handy to compare against.   !https://ca.slack-edge.com/T8RJ13B6W-U8VSYPN9W-ga126fe3ece8-48! Brian Lowe  10:27 AM

Sure, here's a simple example of the ALLTEXT for a person with an affiliation and a single publication: "ALLTEXT": [           "[]",           "[Agronomy Ontology Developer, The Alliance of Bioversity International and CIAT]",           "France Agronomy Ontology Developer, The Alliance of Bioversity International and CIAT The Alliance of Bioversity International and CIAT The Crop Ontology: a source of standard traits and variables for breeding and agronomy"         ],   Wednesday, May 27th

  !https://ca.slack-edge.com/T8RJ13B6W-U8QV5HZNU-b6af676f4780-48! Benjamin Gross  6:17 AM

I believe I am experiencing the same issue where pub labels are not added to a person's alltext field. Likewise, author names are not added to a pub's alltext.     !https://ca.slack-edge.com/T8RJ13B6W-U8QV5HZNU-b6af676f4780-48! Benjamin Gross  6:53 AM

Try changing https://github.com/vivo-project/VIVO/blob/d9571cbccebe42a27d70221ed07c27d45ac527b5/home/src/main/resources/rdf/display/everytime/searchIndexerConfigurationVivo.n3#L26 from :hasTypeRestriction to :appliesToContextNodeType {panel}

chenejac commented 4 years ago

Benjamin Gross said:

This bug was possibly introduced as part of this issue: https://jira.duraspace.org/browse/VIVO-1671

chenejac commented 3 years ago

Benjamin Gross said:

https://github.com/vivo-project/VIVO/pull/221

chenejac commented 3 years ago

Andrew Woods said:

Resolved with: https://github.com/vivo-project/VIVO/commit/f15eec19e0239a0d8bc56a6489a6be892a2037fb