-
Notifications
You must be signed in to change notification settings - Fork 0
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
#90 Adds global text search field that includes TEI Header nodes #100
base: master
Are you sure you want to change the base?
Conversation
I don't think the change to the XSLT is needed. The additional The NB that stylesheet also explicitly adds the three "full text" fields |
NB if you want the new <field name="tei-header" label="Metadata" xpath="/TEI/teiHeader//text()"/> Without a |
The only other thing I'd be wary of is the potential that this XPath expression might merge the content of adjacent elements into a single word, if there were no white space between the elements. e.g. <p>Blah blah ... blah</p><p>Blah blah blah.</p> Would produce Maybe it would be safer to use the |
@Conal-Tuohy Thanks for the guidance on this. Also thanks for the additional comments you left over in the issue conversation. That helped solve a major mystery in my mind, which was how the actual document text was being put into the Solr fields after their definition. Going by their names only, I thought the xproc steps and stylesheets you pointed out were just for transforming P5 to HTML in the request so I didn't ever look at them, but now I see how they are used to transform to the Solr doc in the index pipeline. |
@randalldfloyd : I am not really sure where we left off with this .... maybe when you get a breather (ha!) later in April, we can revisit? |
@mdalmau |
Adding a new field for text searching that includes text nodes from the TEI header. An additional field allows for creating separate behaviors between the advanced search text field and the global site search.