-
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
Global Search and Adv Search for "Text" is not searching everything #90
Comments
The The So if you search for something in the But a solution might be to define another Solr |
This is very helpful. Thanks, Con. The "global search" box in the current/old site has always functioned as a very broad "keyword" search so I do think we need to mimic that functionality there -- index everything. I'll see what the team thinks about leaving the "Text" field to just intro, norm, diplo. |
@mdalmau I've been doing a deep-dive on how the Solr document is created from XPath targets in TEI docs. So I think I know what I need to do to technically to broaden up the global search, but after looking at the TEI I'm just verifying that it's correct to just throw descendant text nodes from Thinking about that is not a blocker for me right now because I still have to figure out how to create the new field and then how to rewire the search mechanisms in the UI, but once I get it working we will need to look at the impact it has. |
Hey @randalldfloyd another option might be to modify the Perhaps you could render that <!-- open up any html:details element which contains a search hit highlight -->
<p:add-attribute match="html:details[.//html:mark]" attribute name="open" attribute-value="open"/> |
Bill reported that he was unable to search for Keynes 12 in the global search box in the home page. The same is true for the "Text" field in Advanced Search. We need to see how @Conal-Tuohy setup the indexing for the "Text" field (and if that's the same indexing criteria for the global search box). We want that global search and the "text" field to search the whole TEI document (my guess it's just indexing the body? I am not sure.).
The text was updated successfully, but these errors were encountered: