CDRH / lewisandclark

The Journals of the Lewis and Clark Expedition Rails Site
https://lewisandclarkjournals.unl.edu
1 stars 0 forks source link

Some index items not showing up #175

Closed karindalziel closed 7 years ago

karindalziel commented 7 years ago

For instance, on this page:

http://rosie.unl.edu/lewisandclark/item/lc.jrn.1805-02-11#lc.jrn.1805-02-11.01

Search for "abert" - clicking returns 0 results

karindalziel commented 7 years ago

Also see

http://rosie.unl.edu/lewisandclark/item/lc.jrn.1806-07-18#lc.jrn.1806-07-18.02

search for "absaroka"

karindalziel commented 7 years ago

The problem is facets from notes aren't showing up.

Since we index from entries, we'll have to pull notes specific to that entry.

karindalziel commented 7 years ago

Thought I got this fixed, but I did not :(

karindalziel commented 7 years ago

Got it, just forgot to close out entry. What I did was find each reference in each entry, go down into the footnotes, and then for each of the three types of named entities there add to the index. The code it not great but it works.