-
Notifications
You must be signed in to change notification settings - Fork 71
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
Release Advanced Search as stand alone Drupal module #1851
Comments
Just note which I mentioned during our Tech call today, the two things which I found Advanced Search sub-module requires components from Islandora Core module are:
|
We split the submodule from Islandora module to have it work as a stand-alone Drupal module https://github.com/digitalutsc/advanced_search We also developed a couple of new features (in
|
@nigelgbanks, please kindly review. Thanks. |
@kylehuynh205 cheers for pinging me, I've been on a long break from work and haven't been following along with developments for some time. I'll do a review on Monday. |
Sorry took me a while to get around to this. For references the differences from what's currently in the main branch of islandora digitalutsc/advanced_search@8.x-1.x...islandora_lite To test the
I tested with For the Simple search block I also had the same issue in that it didn't seem to filter the results. Not sure what is going on there yet. As a side note I've used the built-in form for the view to do similar behaviour to simple search block using the filter criteria I guess it depends on if the intention is to have something similar to how the view filter criteria form block works, for example the search for
The above depends on your sites configuration. Where as with the
In reviewing the standard query processor aka This check seems to remove the ability to limit the block to display only on particular content models which I've and potentially others have used for collection only searches. I'm not sure the intention for adding it? I very much like the idea of having a field in the advanced search block that allows one to "search all fields", though I think we need to define those fields in a way that is similar to the existing functionality in Solr Search API module. We could use the same existing configuration most likely. |
As for releasing the module completely separate from islandora, I'm not sure its worth the burden to support for the wider Drupal community. I don't have the bandwidth to fix non-islandora related issues from others use cases and it would expand the scope of the module in some ways, making maintenance harder. I wouldn't appose the decision though, but I'm also unlikely to do much work to support non-islandora use cases. |
My apology for the super late response, @nigelgbanks. Thank you for you feedbacks. I'll take a closer look on your feedback and get back to you soon. Thanks. |
Sorry, @nigelgbanks about taking long time to get back to this issue. I found that {!boost b=boost_document} is the reason which cause the no search results. I comment it out in this commit and Lucene seach is working as expect. I am wondering if this line is needed for a specific use case ? I comment it out in the original branch 8.x-1.x and everything still works. Thanks. |
@kylehuynh205 there is a |
Islandora Advanced Search supports Boolean search for Solr indexed fields. Currently, it does require facets and Apache Solr; however, there are tickets (#1819, #1822) to explore if it can be setup without facets and possibly Solr.
One can assume that even with Solr, there would be many other Drupal users who would like to have this functionality. Thus, releasing this as stand alone Drupal module may provide additional visibility and use outside of Islandora as well.
It does use node_has_term from Islandora in the islandora_advanced_search_form_block_form_alter. If that can be moved to configuration or documentation, this module can be made into a separate Drupal module.
Current installation should be able to uninstall the submodule and install this module, then setup the block again!
The text was updated successfully, but these errors were encountered: