Commit graph

21 commits

Author SHA1 Message Date
Kyle Huynh
d1692db53a Fixes for the error which phpcbf can't fix 2023-06-07 01:35:02 -04:00
Kyle Huynh
0940670323 Run phpcs and phpcbf 2023-06-07 00:59:16 -04:00
Kyle Huynh
0c2504c4c7
Merge pull request #31 from digitalutsc/search_highlight
Search highlight
2023-06-02 01:34:01 -04:00
Amy Li
489c3c7046 Check if view argument is null before function call 2023-05-15 16:27:05 -04:00
Amy Li
506da48b59 If highlighting enabled, make search api query 'keys' field non-empty
The search api highlight processor checks if the 'keys' field is non-empty and then creates the excerpt. Since we are getting the highlighting result from Solr instead of creating one using the search api processor, we just need to make this field non-empty
2023-03-15 11:34:15 -04:00
Amy Li
84a1c78ad1 Implement search excerpts and highlighting
Todo: need to get keywords from search block
2023-03-15 11:34:15 -04:00
Amy Li
9320116290 Query string becomes malformed when using 'is not' with Edismax enabled 2023-03-14 09:22:24 -04:00
Kyle Huynh
6f32b52ad4 Fixed wildcard search for single field search 2023-02-02 16:21:09 -05:00
Kyle Huynh
df34155e27 Enable Edismax mode by default
Remove the case insensitive field config
2023-02-01 17:07:08 -05:00
Kyle Huynh
d8a87ce0da Enabled edismax for field search as well
Change wording in configiration view
2023-01-31 11:20:28 -05:00
Kyle Huynh
f7e14711ea
Update AdvancedSearchQuery.php 2023-01-25 15:41:32 -05:00
Kyle Huynh
4d3a4df647 Seperated detection of dismax and field search
Exact match: need to change full text field to String to be effective
2022-05-04 13:27:07 +00:00
Natkeeran
1e698ce6f8 case sensitive option 2022-05-02 14:08:03 -04:00
Kyle Huynh
81342141fc Fixed the issue of reload search results when search query is a single word 2022-01-25 21:48:34 +00:00
Kyle Huynh
678695681d Switch back to dismax query (tesed shown same result) 2021-12-09 18:42:53 +00:00
Kyle Huynh
a3cca6bc37 Renamed the module's machine name from islandora_advanced_search to `advanced_search 2021-12-09 10:06:25 -05:00
Kyle Huynh
9836edfb58 Added search with wildcard (with ? and *) 2021-12-06 10:22:00 -05:00
Kyle Huynh
969dc21bb6 Fixed the issue show no results for Lucene search (comment out $q[] = "{!boost b=boost_document}";) 2021-12-06 10:20:40 -05:00
Kyle Huynh
2afe41ce79 Add Lucene Search 2021-09-16 17:42:30 -04:00
Nigel Banks
5c6c26f43f Allow page view derived Advanced Search blocks on any page (#843)
* Allow page view derived Advanced Search blocks on any page

Allows the Advanced Search block to be used on pages
where its corresponding view is not present. Now it
will redirect to the route associated with the view
it was generated from.

This is not valid for Advanced Search blocks that
are derived from non-page based views, as there is
no known location in which to redirect the query.

* Fix for undefined index warning.

* Documented Exposed form style settings requirement for Advanced Search.
2021-07-29 10:59:28 -03:00
Nigel Banks
698cbcad8b Added islandora_advanced_search module. 2021-04-02 10:52:20 +01:00