Commit graph

52 commits

Author SHA1 Message Date
Kyle Huynh
39efb6bb51
Merge pull request #27 from amym-li/search-highlight
Implement search highlighting
2023-03-16 12:47:26 -04:00
Kyle Huynh
5756be015d
Update AdvancedSearchQueryTerm.php
Replaced ! with - for "is not" after further testings
2023-03-15 23:06:07 -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
Kyle Huynh
e698a7c6c7
Update AdvancedSearchQueryTerm.php
Applied Amy's fix for "is not" for exact match with double quotation
2023-03-14 17:09:41 -04:00
Kyle Huynh
6b75e99407
Merge pull request #28 from amym-li/edismax-settings
EDismax option cannot be unchecked on settings form
2023-03-14 17:06:17 -04:00
Amy Li
01e49c965a Fix issue where EDismax cannot be disabled on settings form 2023-03-14 15:08:59 -04:00
Amy Li
9625a0a6a7 Fix 'is not' search not working for keywords containing more than one word 2023-03-14 10:38:31 -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
ddbd38e818
Update SearchResultsPagerBlock.php 2023-03-13 12:05:39 -04:00
Kyle Huynh
c38487eb3b
Update AdvancedSearchQueryTerm.php
Fixed the use case of multiple condition and one of condition has keyword with multiple words
2023-03-09 09:34:14 -05:00
Kyle Huynh
1805404b00
Update AdvancedSearchQueryTerm.php
Fixed the use case: quoted keywords cotain \
2023-03-09 09:30:16 -05:00
Rosie Le Faive
4dceaa7e90
Display "DESC" when showing default sort. 2023-03-07 11:27:51 -04:00
Kyle Huynh
812ca8a37d
Update AdvancedSearchBlock.php 2023-02-24 17:18:53 -05:00
Kyle Huynh
f8effedcd6
Update AdvancedSearchBlock.php
Change this to have Context Filter option appear in Advanced Search Block Config
2023-02-24 15:10:53 -05:00
Kyle Huynh
3fdb8408ab
Update SearchForm.php 2023-02-10 16:16:11 -05:00
Kyle Huynh
baf239e858
Update SearchBlock.php 2023-02-10 16:15:15 -05:00
Kyle Huynh
0b71b649fc
Update SearchForm.php 2023-02-10 15:06:44 -05:00
Kyle Huynh
134e8aa4aa
Update SearchForm.php
Added aria label for Search textbox
2023-02-09 17:05:06 -05:00
Kyle Huynh
e632b96314 Remove theme wrapper to avoid redudent 2023-02-09 16:13:53 -05:00
Kyle Huynh
a83b9849f6 Update documenation for Settings Form 2023-02-07 16:35:13 -05:00
Kyle Huynh
2bbf072838
Update AdvancedSearchForm.php 2023-02-07 13:32:32 -05:00
Kyle Huynh
ea2f01bce3 Fixed a logic issue in Settings form 2023-02-07 11:13:01 -05:00
Kyle Huynh
b1b0065c2a Added a check for Simple Search block to work only if "Enable Search Fields" is enable. 2023-02-07 10:21:42 -05:00
Kyle Huynh
2f3826fac1
Update SettingsForm.php 2023-02-07 09:47:37 -05:00
Kyle Huynh
d1480afec9 Add aria-label for item per page link 2023-02-02 16:32:37 -05:00
Kyle Huynh
6f32b52ad4 Fixed wildcard search for single field search 2023-02-02 16:21:09 -05:00
Kyle Huynh
ec96982005 Added aria-label to Search Results Pager block 2023-02-02 14:47:07 -05:00
Kyle Huynh
d30c8eda8a Added config for turn on/off display mode (grid and list) 2023-02-02 11:15:08 -05:00
Kyle Huynh
f747931c28 Removed Include/Exclude facets option 2023-02-01 23:12:29 -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
083add1792
Update SearchResultsPagerBlock.php 2023-01-30 16:47:31 -05:00
Kyle Huynh
6ce95da8db
Update IncludeExcludeLinksWidget.php
This widget doesn't currently work, need more reviews. 
Remove "*" to hide the registry of this widget to prevent it show up in Facets configuration
2023-01-26 16:24:34 -05:00
Kyle Huynh
e8633d7e3a
Merge pull request #18 from rosiel/use-new-requeststack
Use new requeststack
2023-01-26 12:21:05 -05:00
Rosie Le Faive
f2e21f3a1a Use new request stack. Addresses #9. 2023-01-26 10:14:40 -04:00
Kyle Huynh
c6d6072031
Update AdvancedSearchQueryTerm.php 2023-01-25 15:42:06 -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
3e3b68c72d Added handle for .is-active for pager linke in Pager block with ajax 2022-01-27 04:39:35 +00:00
Kyle Huynh
e52f1db462 Update pager links after searching in place 2022-01-26 19:46:24 +00: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
3168f18b6c Add a simple search block associated with an Advanced Search View Page 2021-09-17 00:55:40 -04: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