Skip to content
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

drupal search api for tripal #4

Open
wants to merge 278 commits into
base: 8.x-1.x
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
278 commits
Select commit Hold shift + click to select a range
c89fd1a
Issue #2114593 by drunken monkey: Added list of floats to test module.
drunken-monkey Oct 22, 2013
602f36e
Issue #2086783 by drunken monkey: Removed Views field handlers for "v…
drunken-monkey Oct 23, 2013
5361183
Issue #2113277 by moonray, drunken monkey: Fixed date facet count for…
Oct 23, 2013
dde60e9
Adapted CHANGELOG.txt to the 1.9 release.
drunken-monkey Oct 23, 2013
40f2ca0
Issue #2100191 by drunken monkey, Bojhan: Added an admin description …
drunken-monkey Oct 24, 2013
5bbf737
Issue #1956650 by drunken monkey, wwhurley: Fixed trackItemChange not…
drunken-monkey Oct 28, 2013
1bd1469
Follow-up to #2110315 by drunken monkey: Fixed Views filter for non-F…
drunken-monkey Nov 1, 2013
c734ecd
Issue #1750144 by jsacksick, drunken monkey: Fixed missing Boost opti…
Nov 2, 2013
db31e0c
Issue #2115127 by drunken monkey: Fixed cron indexing logic to keep t…
drunken-monkey Nov 3, 2013
db1d84f
Issue #2100199 by drunken monkey: Merged index tabs for a cleaner look.
drunken-monkey Nov 6, 2013
a7882f5
Fixed one comment line length.
drunken-monkey Nov 7, 2013
b7795f2
Issue #2100193 by drunken monkey: Turned operations in overview into …
drunken-monkey Nov 7, 2013
725819d
Issue #2100231 by drunken monkey: Renamed "Workflow" tab to "Filters".
drunken-monkey Nov 7, 2013
8723c72
Issue #1961120 by drunken monkey: Fixed Views handling of short fullt…
drunken-monkey Nov 8, 2013
2a4b08d
Issue #2118589 by mxr576, drunken monkey: Added node access for comme…
Nov 8, 2013
4ec1344
Removed left-over CSS and applied some documentation fixes.
drunken-monkey Nov 11, 2013
cb74b84
Some doc style fixes.
drunken-monkey Nov 13, 2013
dd5c678
Issue #1832334 by Damien Tournoud, drunken monkey: Fixed performance …
Nov 13, 2013
3335094
Some doc comment fixes for includes/query.inc.
drunken-monkey Nov 13, 2013
5246b64
Issue #2135255 by dww: Fixed missing pager on first page of search re…
Nov 14, 2013
3c886fe
Issue #1390598 by Damien Tournoud, drunken monkey: Added the concept …
Nov 14, 2013
e456c9e
Some doc comment fixes.
drunken-monkey Nov 14, 2013
1a10772
Issue #2135363 by drumm, drunken monkey: Added support for Views' use…
drumm Nov 15, 2013
ffb1ae2
Issue #1551302 by drunken monkey: Fixed the server tasks system.
drunken-monkey Nov 15, 2013
6158ba1
Issue #2128529 by Frando, drunken monkey: Added a way for facet query…
Nov 15, 2013
3ff385f
Issue #2128947 by stBorchert, drunken monkey: Fixed facet handling fo…
Nov 15, 2013
643d50b
Issue #2128001 by drunken monkey: Fixed the logic of the "contains no…
drunken-monkey Nov 15, 2013
35c829f
Minimal doc comment fix.
drunken-monkey Nov 15, 2013
a9295a1
Some documentation and other comment fixes.
drunken-monkey Nov 19, 2013
9dd2634
Follow-up to #2135363 by drunken monkey: Fixed logic of the "skip res…
drunken-monkey Nov 19, 2013
d4a12a9
Issue #2136019 by drunken monkey: Fixed mapping callback for taxonomy…
drunken-monkey Nov 25, 2013
b7e8b15
Issue #2134509 by kscheirer, drunken monkey: Removed unused variables…
Nov 26, 2013
4541d6b
Issue #2143659 by khiminrm: Fixed typo in update function 7116.
Nov 26, 2013
ce8a47f
Issue #2139215 by drunken monkey: Fixed $context parameter of batch c…
drunken-monkey Nov 27, 2013
b91d5f5
Doc comment fixes for the implemented entity CRUD hooks.
drunken-monkey Nov 30, 2013
5cf7cc5
Issue #1925114 by azinck: Fixed Views Facet Block integration with Pa…
Dec 4, 2013
328d4c6
Issue #2139239 by drunken monkey: Fixed highlighting for the last wor…
drunken-monkey Dec 5, 2013
88c559f
Issue #2100671 by drunken monkey: Fixed stopwords processor to ignore…
drunken-monkey Dec 9, 2013
7167bdc
Issue #2144531 by drunken monkey: Fixed cloning of queries to clone f…
drunken-monkey Dec 9, 2013
456dd8d
Issue #2152327 by sirtet, miro_dietiker: Fixed typo in help text for …
Dec 9, 2013
3007d21
Issue #2130819 by drunken monkey, Bojhan: Added UI improvements for t…
drunken-monkey Dec 9, 2013
4bc2ea2
Adapted CHANGELOG.txt to 1.10 release.
drunken-monkey Dec 9, 2013
8a96aae
Added dev release to CHANGELOG.txt again.
drunken-monkey Dec 9, 2013
38ac5e5
Follow-up to #2130819 by drunken monkey: Fixed service class descript…
drunken-monkey Dec 11, 2013
0773327
Issue #2150347 by drunken monkey: Added access callbacks for indexes …
drunken-monkey Dec 13, 2013
e1d1026
Issue #2146435 by timkang: Fixed Views paging with custom pager add-ons.
Dec 13, 2013
201bd98
Issue #2156021 by jgullstr: Fixed confirm message when disabling serv…
Dec 13, 2013
c50aad5
Issue #2158873 by drumm, drunken monkey: Fixed "all of" operator of V…
drumm Dec 18, 2013
10fc54c
Issue #2155721 by rjacobs, drunken monkey: Added support for Views' g…
ryan-jacobs Dec 24, 2013
4ab448a
Issue #2159011 by idebr, drunken monkey: Fixed highlighting of keywor…
Dec 24, 2013
821537d
Follow-up to #2118589 by drunken monkey: Fixed false error messages w…
drunken-monkey Dec 24, 2013
120a45c
Issue #2155575 by drunken monkey: Fixed incorrect "Server index statu…
drunken-monkey Dec 25, 2013
37a848b
Issue #2155127 by drunken monkey: Clarified the scope of the "Node ac…
drunken-monkey Dec 25, 2013
4bf28b8
Issue #1879196 by drunken monkey: Fixed invalid old indexes causing e…
drunken-monkey Dec 25, 2013
9d3ad5f
Adapted CHANGELOG.txt to 1.11 release.
drunken-monkey Dec 25, 2013
c4114de
Back to dev version.
drunken-monkey Dec 25, 2013
08a1682
Issue #1227702 by drunken monkey: Improved error handling.
drunken-monkey Dec 25, 2013
fcb6474
Issue #2150779 by hefox: Fixed "Overridden" detection for index featu…
drunken-monkey Dec 25, 2013
7b9a3c7
Issue #2168713 by idebr: Fixed highlighting of keys containing slashes.
Feb 25, 2014
6cc53e4
Fixed small comment typo.
drunken-monkey Mar 7, 2014
3959b06
Follow-up to #2168713 by drunken monkey: Fixed highlighting of keys c…
drunken-monkey Mar 10, 2014
a001ef5
Issue #2198261 by drunken monkey: Fixed fatal error on view editing.
drunken-monkey Mar 11, 2014
a12513e
Corrected a tiny comment typo.
drunken-monkey Mar 17, 2014
56d9181
Issue #2187487 by drunken monkey: Fixed admin summary of language fil…
drunken-monkey Mar 19, 2014
67c8e21
Issue #1888174 by drunken monkey, ipallian: Fixed problems with date …
drunken-monkey Apr 13, 2014
73741e4
Issue #2219563 by drunken monkey: Added __toString() methods for quer…
drunken-monkey Apr 14, 2014
e424e73
Issue #2169455 by drunken monkey: Fixed "undefined index" in search_a…
drunken-monkey May 12, 2014
1735020
Issue #2195469 by freakalis, drunken monkey: Added "Exclude fields" o…
May 12, 2014
5092cf1
Issue #2198791 by drunken monkey: Fixed empty Views entity filters.
drunken-monkey May 12, 2014
0325f59
Issue pagination
drunken-monkey May 12, 2014
67bc21a
Issue #2179755 by drunken monkey, fago: Fixed whitespaces after HTML …
drunken-monkey May 12, 2014
ca46ff9
Issue #2135697 by drunken monkey: Fixed handling of HTML attributes i…
drunken-monkey May 12, 2014
bfbe1ac
Issue #2219553 by drunken monkey: Fixed Views fulltext filter operators.
drunken-monkey May 12, 2014
0859f9d
Issue #2233749 by rjacobs, drunken monkey: Added drush support to cha…
ryan-jacobs May 14, 2014
22a52ab
Issue #2256891 by justanothermark: Fixed "0" entity labels.
May 15, 2014
950e379
Issue #2265349 by drunken monkey: Marked _search_api_settings_equals(…
drunken-monkey May 23, 2014
43cca33
Adapted CHANGELOG.txt to 1.12 release.
drunken-monkey May 23, 2014
99b5e4b
Back to dev version.
drunken-monkey May 23, 2014
52b91fe
Issue #2204847 by drunken monkey, alanmackenzie: Fixed Views caching …
drunken-monkey May 23, 2014
c3206ec
Issue #2216345 by bacardi55, fabianderijk, drunken monkey: Fixed arra…
Jun 18, 2014
30d12b9
Issue #2272983 by idflood, drunken monkey: Fixed Highlighting process…
Jun 22, 2014
883af65
Issue #2278791 by drunken monkey | tksmd: Fixed excerpt when searchin…
drunken-monkey Jul 9, 2014
38ecbff
Issue #2146435 by alanmackenzie: Fixed Views paging with custom pager…
Jul 9, 2014
f87546a
Fixed signature of the SearchApiViewsQuery::getOption() proxy method.
drunken-monkey Jul 10, 2014
c7f2f3e
Issue #2145547 by aaronbauman: Fixed duplicated sorts (one exposed) i…
Jul 20, 2014
8f2d3a1
Issue #2281535 by areynolds, nicola85: Adapted to latest changes in V…
Jul 21, 2014
717d2fb
Adapted CHANGELOG.txt to 1.13 release.
drunken-monkey Jul 23, 2014
c705d48
Back to dev version.
drunken-monkey Jul 23, 2014
b283150
Issue #2278737 by drunken monkey: Fixed use of multiple Views fulltex…
drunken-monkey Aug 19, 2014
2feb041
Issue #2319263 by solotandem: Added easier way to subclass entity cla…
Aug 27, 2014
cdbd157
Follow-up to #2110315 by ufku, drunken monkey: Fixed Views field hand…
Aug 28, 2014
0483636
Issue #2305627 by drunken monkey, cpliakas: Fixed date facets not dis…
drunken-monkey Sep 8, 2014
ccc5ad7
Issue #1372092 by drunken monkey: Added an error message when no serv…
drunken-monkey Sep 8, 2014
3271ed0
Issue #2334727 by Alex Bukach, drunken monkey: Fixed Views caching do…
Sep 15, 2014
74d16a8
Issue #2305755 by drunken monkey, pfrenssen: Fixed invalidation of th…
drunken-monkey Sep 17, 2014
157758d
Fixed error message in search_api_search_api_query_alter().
drunken-monkey Sep 22, 2014
fc4c7f5
Issue #2174163 by drunken monkey: Fixed detection of field type chang…
drunken-monkey Oct 13, 2014
519172a
Issue #1184610 by drunken monkey: Added option to limit indexes to sp…
drunken-monkey Oct 30, 2014
88f06a8
Issue #2364875 by Xano: Fixed Views argument handler for fulltext fie…
Nov 12, 2014
926c2a0
Issue #2364247 by drunken monkey: Fixed documentation for SearchApiQu…
drunken-monkey Nov 13, 2014
20ed1e4
Issue #2359201 by drunken monkey: Added a "List" option to "Aggregate…
drunken-monkey Nov 13, 2014
86eafb0
Issue #2347367 by drunken monkey, das-peter: Fixed forgotten usages o…
drunken-monkey Nov 13, 2014
55d0a03
Issue #1861134 by Cyberwolf, jackbravo, drunken monkey: Fixed indexin…
Nov 23, 2014
c058c7b
Issue #2375447 by drunken monkey: Added clarifying comment to foreach…
drunken-monkey Nov 25, 2014
b8755fe
Little doc cleanup.
drunken-monkey Dec 11, 2014
03af04a
Issue #2371099 by drunken monkey: Fixed display of active "Exclude" f…
drunken-monkey Dec 15, 2014
a20d6c7
Issue #2382385 by illusionuk, drunken monkey: Fixed error handling wh…
Dec 16, 2014
848b9c0
Revert "Issue #1184610 by drunken monkey: Added option to limit index…
drunken-monkey Dec 26, 2014
968ec5a
Adapted CHANGELOG.txt to 1.14 release.
drunken-monkey Dec 26, 2014
c5f7135
Back to dev version.
drunken-monkey Dec 26, 2014
8e468fd
Issue #2387161 by drunken monkey: Added a hook for altering search re…
drunken-monkey Jan 27, 2015
ad51dda
Issue #2414367 by Darren Oh, drunken monkey: Fixed detection of missi…
Jan 27, 2015
fe7232b
Issue #2412895 by drunken monkey: Fixed entity load for Views entity …
drunken-monkey Mar 3, 2015
fee782c
Issue #1396222 by drunken monkey: Added a "First letter" aggregation …
drunken-monkey Mar 5, 2015
b09c1b5
Issue #1184610 by drunken monkey: Added option to limit indexes to sp…
drunken-monkey Apr 3, 2015
9f1f1cc
Issue #2450227 by StryKaizer, drunken monkey: Fixed OR facets on taxo…
Apr 3, 2015
3d21501
Issue #2450333 by drunken monkey: Added performance improvement when …
drunken-monkey May 23, 2015
5e330c1
Issue #2414425 by Darren Oh, drunken monkey: Fixed backend form valid…
May 23, 2015
b151a4a
Issue #2448849 by cgoffin: Added "year range" option for date filters.
May 23, 2015
21e7d62
Follow-up to #2450333 by drunken monkey: Fixed indexing of entity-val…
drunken-monkey May 27, 2015
21566e5
Issue #2190627 by m1n0, drunken monkey: Fixed fatal errors for views …
Jun 1, 2015
90ba4e2
Adapted CHANGELOG.txt to 1.15 release.
drunken-monkey Jun 3, 2015
8dbd951
Back to dev version.
drunken-monkey Jun 3, 2015
d8dab1a
Issue #2447213 by drunken monkey: Fixed issues with stale field setti…
drunken-monkey Jun 8, 2015
5990977
Fixed a small coding mistake.
drunken-monkey Jun 8, 2015
8dc293b
Issue #2489882 by dww: Fixed Views taxonomy filter with "is (not) emp…
Jun 30, 2015
834d1d1
Issue #2520684 by drunken monkey: Fixed "bundles" setting on indexes …
drunken-monkey Jul 16, 2015
eb4924d
Small code style fix.
drunken-monkey Aug 5, 2015
2ac29dc
Issue #2479453 by prics, drunken monkey: Added a Drush command to lis…
Aug 6, 2015
0cc0f80
Issue #2533096 by drunken monkey: Fixed uncaught exception when delet…
drunken-monkey Aug 7, 2015
f062a8b
Issue #2520934 by drunken monkey: Added an item type for indexing sev…
drunken-monkey Aug 7, 2015
fa3992d
Issue #1197538 by thePanz, k4v, drunken monkey, ayalon, nadavoid, tim…
Aug 27, 2015
03ea0c0
Issue #2491175 by ptmkenny, drunken monkey: Added a data alteration f…
Aug 29, 2015
8c217b1
Issue #2502819: Fixed example code for hook_search_api_query_alter().
drunken-monkey Aug 29, 2015
b85d9b9
Adapted CHANGELOG.txt to 1.16 release.
drunken-monkey Aug 30, 2015
e5a8012
Back to dev version.
drunken-monkey Aug 30, 2015
1f03fe1
Issue #2550599 by ACF, drunken monkey: Fixed error on entity rebuilds.
Sep 6, 2015
11dcade
Issue #2524314 by drunken monkey: Fixed bundle-setting for taxonomy t…
drunken-monkey Sep 23, 2015
cd30e75
Issue #2565005 by drunken monkey: Properly escape labels of "checkbox…
drunken-monkey Oct 6, 2015
8f30ddb
Fixed the docs for SearchApiQueryInterface::execute().
drunken-monkey Oct 15, 2015
7c30455
Issue #2567775 by joseph.olstad, drunken monkey: Fixed handling of br…
Oct 22, 2015
a5d4bf7
Issue #2563793 by drunken monkey, smitty, ReBa: Fixed Views base tabl…
drunken-monkey Nov 3, 2015
2df931c
Issue #2565743 by drunken monkey: Fixed creation of comment indexes w…
drunken-monkey Nov 3, 2015
20f3662
Fixed the CHANGELOG.txt format.
drunken-monkey Nov 9, 2015
0edea1d
Issue #1956650 by drunken monkey, wwhurley: Fixed trackItemChange not…
drunken-monkey Nov 10, 2015
ed93634
Issue #2570879 by thePanz, drunken monkey: Added sorting of remembere…
Nov 17, 2015
4c40fae
Issue #2592231 by drunken monkey, balintcsaba: Fixed ignored item lan…
drunken-monkey Nov 28, 2015
60008e6
Issue #2583263 by drunken monkey: Fixed Views integration in combinat…
drunken-monkey Dec 7, 2015
18f5d1a
Issue #2529262 by kingmackenzie, stefan.r: Added an option to Views d…
Dec 7, 2015
2bc929e
Small code formatting change.
drunken-monkey Dec 7, 2015
d0cedab
Issue #2603500 by drunken monkey, krishna savithraj: Fixed Views full…
drunken-monkey Dec 8, 2015
ae85052
Issue #2611726 by Hubbs, rakesh.gectcr: Fixed several typos.
Dec 9, 2015
2adee7b
Issue #2613054 by temkin: Fixed the "search-api-index" Drush command …
Dec 9, 2015
3547208
Fixed some minor typos in doc comments.
drunken-monkey Dec 10, 2015
0c0083d
Issue #2611714 by rakesh.gectcr, drunken monkey: Improved compliance …
Dec 11, 2015
94ad069
Issue #2572487 by drunken monkey: Removed operator setting for date f…
drunken-monkey Dec 12, 2015
4c94773
Issue #2576265 by drunken monkey: Fixed view trying to search on non-…
drunken-monkey Dec 12, 2015
52d9bb5
Issue #2631276 by tauno: Fixed the MLT handler for multi-entity indexes.
Jan 9, 2016
8da4346
Issue #2569461 by kraynuk.m, drunken monkey: Fixed existing table in …
Jan 9, 2016
9a97857
Issue #2629136 by drunken monkey, deranga: Fixed wrong facet counts i…
drunken-monkey Feb 10, 2016
39e9e86
Issue #2638740 by joachim, drunken monkey: Added a link to the index …
joachim-n Feb 15, 2016
9fa6ac3
Issue #2639200 by joachim: Added sorting to "related fields" select box.
joachim-n Feb 15, 2016
4297217
Issue #2654328 by drunken monkey, donquixote: Fixed use of "<" and ">…
drunken-monkey Feb 23, 2016
db053d9
Issue #2667872 by Les Lim: Added "0" to field boost options.
Feb 26, 2016
d88b02d
Issue #2678856 by stefan.r, drunken monkey: Fixed date facets showing…
stefanruijsenaars Mar 14, 2016
ea7e6f6
Issue #2677900 by stefan.r, drunken monkey: Added the possibility to …
stefanruijsenaars Mar 14, 2016
8b1bcf1
Issue #2665586 by recrit, drunken monkey: Fixed parsing of invalid da…
Mar 14, 2016
1663438
Adapted CHANGELOG.txt to reflect the new 1.17 release.
drunken-monkey Mar 14, 2016
00795c1
Issue #2693425 by jojyja: Fixed a typo in search_api.info.
Mar 24, 2016
f362e5b
Added hook group info for three more hooks.
drunken-monkey Apr 4, 2016
91df710
Fixed reaction to updating of node access records.
drunken-monkey Apr 20, 2016
cd32d59
Fixed typo when checking for access to comments.
drunken-monkey Apr 20, 2016
560e623
Revised mechanism for passing (highlighted) field values to Views.
drunken-monkey Apr 20, 2016
33f2976
Adapted CHANGELOG.txt to release 1.18.
drunken-monkey Apr 21, 2016
0580e94
Issue #2419853 by drunken monkey: Fixed HTML filter leaves escaped en…
drunken-monkey Apr 21, 2016
2b33674
Issue #2703675 by drunken monkey, heykarthikwithu: Fixed accidental a…
drunken-monkey Apr 21, 2016
965bea1
Issue #2665970 by andrei.colesnic, drunken monkey: Added "Limit list …
Apr 21, 2016
02041b1
Issue #2700011 by drunken monkey: Fixed compatibility issues of facet…
drunken-monkey Apr 21, 2016
7a0b612
Issue #1889940 by cspurk, Yaron Tal: Fixed "HTML filter" processor to…
Apr 21, 2016
14b90c5
Issue #2700879 by drunken monkey: Fixed breadcrumbs on index tabs.
drunken-monkey Apr 22, 2016
cfc2bdf
Issue #2707039 by alan-ps: Fixed indexes of flag entities with "bundl…
Apr 22, 2016
196cd12
Issue #2710893 by alan-ps, drunken monkey: Fixed creation of comment …
May 5, 2016
d07089b
Issue #2720465 by drunken monkey: Fixed bundle filter's handling of e…
drunken-monkey Jun 7, 2016
99c23a3
Issue #2733447 by jsacksick: Fixed translatability of our Views taxon…
Jun 10, 2016
ff80f77
Issue #2742053 by tunic: Fixed change notification on node access rec…
Jun 11, 2016
d7360f7
Issue #2744995 by John Cook, drunken monkey: Fixed search views witho…
Jun 11, 2016
db8a350
Issue #2744189 by nikolabintev, drunken monkey: Fixed highlighting fo…
Jun 15, 2016
5890fa4
Issue #2724687 by StefanPr, drunken monkey: Fixed failed sanitization…
Jun 15, 2016
6db63ee
Adapted CHANGELOG.txt to 1.19 release.
drunken-monkey Jul 5, 2016
c3382e5
Back to dev version.
drunken-monkey Jul 5, 2016
9384359
Issue #2753441 by Johnny vd Laar: Fixed translated field names in lan…
Jul 6, 2016
893bd59
Issue #1818572 by morningtime, drunken monkey, lodey, guillaumev: Add…
Jul 19, 2016
20fc8aa
Issue #2731103 by drunken monkey: Fixed the default value for the tax…
drunken-monkey Jul 21, 2016
a093d89
Adapted CHANGELOG.txt to 1.20 release.
drunken-monkey Jul 21, 2016
0801154
Back to dev version.
drunken-monkey Jul 21, 2016
5cf51a0
Issue #2769877 by mfernea: Fixed database exception when filtering fo…
Jul 21, 2016
ef5fc55
Issue #2769021 by Plazik, drunken monkey: Added the generated Search …
Aug 1, 2016
4c53be2
Issue #2649412 by relaxnow, GoZ: Added support for minimum granularit…
Aug 22, 2016
3193709
Fixed literal use of 'item_id' in datasource instead of property.
drunken-monkey Aug 23, 2016
7b661ee
Issue #2779159 by mark_fullmer, drunken monkey: Added a Stemmer proce…
Oct 19, 2016
5447fe0
Issue #2358065 by Jelle_S, graper, drunken monkey: Added the option f…
Oct 19, 2016
88c0d9b
Issue #2778261 by drunken monkey, BAHbKA: Fixed "Index items immediat…
drunken-monkey Oct 26, 2016
8afc105
Issue #2822145 by drunken monkey: Fixed problem with phrase search in…
drunken-monkey Nov 12, 2016
c25e27b
Issue #2822836 by prince_zyxware: Fixed some Drupal coding standards …
Nov 12, 2016
ee67f12
Issue #2827717 by Fabien.Godineau, drunken monkey: Fixed disabling of…
Nov 26, 2016
e3c2e1f
Issue #2828380 by jansete: Fixed taxonomy term access tag in Views fi…
Nov 29, 2016
a49ceae
Issue #2632880 by drunken monkey, donquixote: Added possibility to ch…
drunken-monkey Dec 23, 2016
b33a62e
Issue #2836687 by sarthak drupal: Fixed one doc comment typo.
Jan 1, 2017
4ac425e
Issue #2838075 by dsnopek: Fixed possible race condition in hook_syst…
Jan 1, 2017
7b94a45
Issue #1670420 by kyletaylored, dorficus, drunken monkey: Fixed poten…
Jan 7, 2017
f03dc28
Issue #2840261 by alan-ps: Fixed usage of outdated hash functions.
Jan 22, 2017
2dea835
Issue #2833482 by drunken monkey: Fixed undefined constant when unins…
drunken-monkey Jan 25, 2017
7891a93
Issue #2837745 by drunken monkey, klausi: Fixed NULL tags on old seri…
drunken-monkey Jan 25, 2017
2c7aab9
Issue #2844990 by drunken monkey: Made the "Role filter" data alterat…
drunken-monkey Feb 6, 2017
fe202e7
Issue #2842856 by drunken monkey: Fixed language filters for "Multipl…
drunken-monkey Feb 6, 2017
ebe00d1
Issue #2765317 by JorgenSandstrom, NWOM, drunken monkey: Added a "Las…
Feb 16, 2017
c8a39a5
Issue #2780341 by Berdir: Fixed passing of custom ranges to date facets.
Feb 22, 2017
4489bb4
Issue #2574889 by drunken monkey, ChristianAdamski: Added Tour module…
drunken-monkey Feb 22, 2017
2b70f34
Revert "Issue #2574889 by drunken monkey, ChristianAdamski: Added Tou…
drunken-monkey Feb 22, 2017
bc9e81d
Adapted CHANGELOG.txt to 1.21 release.
drunken-monkey Feb 23, 2017
37e9a66
Back to dev version.
drunken-monkey Feb 23, 2017
4bd744f
Issue #2863445 by dbjpanda, drunken monkey: Fixed phrasing in README.…
Apr 20, 2017
7eef462
Issue #2855447 by mparker17, drunken monkey: Added "Separator" option…
Apr 25, 2017
c713dc7
Issue #2860624 by drunken monkey: Fixed problem with empty words in V…
drunken-monkey Apr 25, 2017
d41c745
Issue #2875793 by drunken monkey: Fixed buggy error handling in Views.
drunken-monkey May 12, 2017
a5ba346
Issue #2749963 by drunken monkey: Fixed "Index hierarchy" not having …
drunken-monkey May 25, 2017
df04cb1
Issue #2788593 by drunken monkey: Fixed error in Views query settings…
drunken-monkey May 26, 2017
41813a1
Issue #2879892 by blacklabel_tom, drunken monkey: Fixed link in descr…
Jun 18, 2017
a24146a
Issue #1710212 by drunken monkey: Added a data alteration for indexin…
drunken-monkey Jun 18, 2017
6bff579
Adapted CHANGELOG.txt to 1.22 release.
drunken-monkey Jul 18, 2017
8b46943
Back to dev version.
drunken-monkey Jul 18, 2017
b9b5fda
Issue #2904268 by pobster, drunken monkey: Added support for language…
pobtastic Sep 6, 2017
f838690
Issue #2905445 by ciss, drunken monkey: Fixed error handling in Views…
Sep 10, 2017
6b10116
Issue #2566529 by Dylan Donkersgoed, drunken monkey, joachim, swirt: …
Dec 4, 2017
40d143f
Issue #2928769 by jannis, drunken monkey: Fixed Views cache not being…
Dec 18, 2017
bd628b1
Issue #2927692 by drunken monkey, Kristi Wachter: Fixed exposed group…
drunken-monkey Dec 19, 2017
0d8fc5e
Issue #1393064 by xlyz, drunken monkey, jannis: Fixed handling of emp…
Jan 20, 2018
9fa4644
Issue #2889989 by kevineinarsson, drunken monkey, kristofferwiklund: …
Jan 21, 2018
eb15a80
Issue #1903004 by AndyF, joseph.olstad, drunken monkey: Fixed errors …
Feb 18, 2018
1054441
Issue #2949562 by DamienMcKenna, drunken monkey: Fixed stemming of mu…
Mar 4, 2018
eec1838
Adapted CHANGELOG.txt to 1.23 release.
drunken-monkey Mar 31, 2018
2744b4e
Back to dev version.
drunken-monkey Mar 31, 2018
66a8733
Issue #2958201 by jcnventura, drunken monkey: Reverted issue #2566529…
jcnventura Apr 5, 2018
2c89c8e
Adapted CHANGELOG.txt to 1.24 release.
drunken-monkey Apr 5, 2018
91747ce
Back to dev version.
drunken-monkey Apr 5, 2018
5f46652
Issue #2949899 by drunken monkey, DamienMcKenna: Added a warning agai…
drunken-monkey Apr 14, 2018
52d2245
Issue #2828883 by JorgenSandstrom, drunken monkey: Fixed property typ…
Apr 22, 2018
e899283
Issue Issue #2948820 by capysara, drunken monkey: Added a link to th…
Apr 22, 2018
8af7495
Issue #2408727 by drunken monkey, OliverColeman: Fixed out-of-memory …
drunken-monkey Jun 22, 2018
76ed48c
Issue #1783746 by das-peter, sammys, SpadXIII, drunken monkey, rulowe…
Jul 14, 2018
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
420 changes: 402 additions & 18 deletions CHANGELOG.txt

Large diffs are not rendered by default.

22 changes: 10 additions & 12 deletions README.txt
Original file line number Diff line number Diff line change
Expand Up @@ -31,9 +31,9 @@ Terms as used in this module.
Sphinx or any other professional or simple indexing mechanism. Takes care of
the details of all operations, especially indexing or searching content.
- Server:
One specific place for indexing data, using a set service class. Can
e.g. be some tables in a database, a connection to a Solr server or other
external services, etc.
One specific place for indexing data, using a specific service class. For
example this could be some tables in a database, a connection to a Solr server
or other external services, etc.
- Index:
A configuration object for indexing data of a specific type. What and how data
is indexed is determined by its settings. Also keeps track of which items
Expand Down Expand Up @@ -90,7 +90,7 @@ IMPORTANT: Access checks
results are displayed – either by only indexing such items, or by filtering
appropriately at search time.
For search on general site content (item type "Node"), this is already
supported by the Search API. To enable this, go to the index's "Workflow" tab
supported by the Search API. To enable this, go to the index's "Filters" tab
and activate the "Node access" data alteration. This will add the necessary
field, "Node access information", to the index (which you have to leave as
"indexed"). If both this field and "Published" are set to be indexed, access
Expand Down Expand Up @@ -171,8 +171,8 @@ form at the bottom of the page. For instance, you might want to index the
author's username to the indexed data of a node, and you need to add the "Body"
entity to the node when you want to index the actual text it contains.

- Index workflow
(Configuration > Search API > [Index name] > Workflow)
- Indexing workflow
(Configuration > Search API > [Index name] > Filters)

This page lets you customize how the created index works, and what metadata will
be available, by selecting data alterations and processors (see the glossary for
Expand Down Expand Up @@ -210,12 +210,6 @@ search_api_index_worker_callback_runtime:
API will spend indexing (for all indexes combined) in each cron run. The
default is 15 seconds.

search_api_batch_per_cron:
By changing this variable, you can define how many batch items are created on
a single cron run. The value is per index, so on a site with 5 indexes with a
cron limit of 100 each, the default value of 10 will load and queue up to 5000
search items in up to 50 batch items.


Information for developers
--------------------------
Expand Down Expand Up @@ -391,6 +385,10 @@ Included components
Enables the admin to specify a stopwords file, the words contained in which
will be filtered out of the text data indexed. This can be used to exclude
too common words from indexing, for servers not supporting this natively.
* Stem words
Uses the PorterStemmer method to reduce words to stems. A search for
"garden" will return results for "gardening" and "garden," as will a search
for "gardening."

- Additional modules

Expand Down
90 changes: 78 additions & 12 deletions contrib/search_api_facetapi/plugins/facetapi/adapter.inc
Original file line number Diff line number Diff line change
Expand Up @@ -61,6 +61,10 @@ class SearchApiFacetapiAdapter extends FacetapiAdapter {
public function initActiveFilters($query) {
$search_id = $query->getOption('search id');
$index_id = $this->info['instance'];
// Only act on queries from the right index.
if ($index_id != $query->getIndex()->machine_name) {
return;
}
$facets = facetapi_get_enabled_facets($this->info['name']);
$this->fields = array();

Expand All @@ -78,21 +82,21 @@ class SearchApiFacetapiAdapter extends FacetapiAdapter {
// displayed.
$facet_search_ids = isset($options['facet_search_ids']) ? $options['facet_search_ids'] : array();

// Remember this search ID, if necessary.
$this->rememberSearchId($index_id, $search_id);

if (array_search($search_id, $facet_search_ids) === FALSE) {
$search_ids = variable_get('search_api_facets_search_ids', array());
if (empty($search_ids[$index_id][$search_id])) {
// Remember this search ID.
$search_ids[$index_id][$search_id] = $search_id;
variable_set('search_api_facets_search_ids', $search_ids);
}
if (!$default_true) {
continue; // We are only to show facets for explicitly named search ids.
// We are only to show facets for explicitly named search ids.
continue;
}
}
elseif ($default_true) {
continue; // The 'facet_search_ids' in the settings are to be excluded.
// The 'facet_search_ids' in the settings are to be excluded.
continue;
}
$active[$facet['name']] = $search_id;
$facet_key = $facet['name'] . '@' . $this->getSearcher();
$active[$facet_key] = $search_id;
$this->fields[$facet['name']] = array(
'field' => $facet['field'],
'limit' => $options['hard_limit'],
Expand All @@ -103,13 +107,35 @@ class SearchApiFacetapiAdapter extends FacetapiAdapter {
}
}

/**
* Adds a search ID to the list of known searches for an index.
*
* @param string $index_id
* The machine name of the search index.
* @param string $search_id
* The identifier of the executed search.
*/
protected function rememberSearchId($index_id, $search_id) {
$search_ids = variable_get('search_api_facets_search_ids', array());
if (empty($search_ids[$index_id][$search_id])) {
$search_ids[$index_id][$search_id] = $search_id;
asort($search_ids[$index_id]);
variable_set('search_api_facets_search_ids', $search_ids);
}
}

/**
* Add the given facet to the query.
*/
public function addFacet(array $facet, SearchApiQueryInterface $query) {
if (isset($this->fields[$facet['name']])) {
$options = &$query->getOptions();
$options['search_api_facets'][$facet['name']] = $this->fields[$facet['name']];
$facet_info = $this->fields[$facet['name']];
if (!empty($facet['query_options'])) {
// Let facet-specific query options override the set options.
$facet_info = $facet['query_options'] + $facet_info;
}
$options['search_api_facets'][$facet['name']] = $facet_info;
}
}

Expand Down Expand Up @@ -139,7 +165,7 @@ class SearchApiFacetapiAdapter extends FacetapiAdapter {
// I suspect that http://drupal.org/node/593658 would help.
// For now, just taking the first current search for this index. :-/
foreach (search_api_current_search() as $search) {
list($query, $results) = $search;
list($query) = $search;
if ($query->getIndex()->machine_name == $index_id) {
$this->current_search = $search;
}
Expand All @@ -166,6 +192,12 @@ class SearchApiFacetapiAdapter extends FacetapiAdapter {
*/
public function getSearchKeys() {
$search = $this->getCurrentSearch();

// If the search is empty then there's no reason to continue.
if (!$search) {
return NULL;
}

$keys = $search[0]->getOriginalKeys();
if (is_array($keys)) {
// This will happen nearly never when displaying the search keys to the
Expand Down Expand Up @@ -196,7 +228,6 @@ class SearchApiFacetapiAdapter extends FacetapiAdapter {
*/
public function settingsForm(&$form, &$form_state) {
$facet = $form['#facetapi']['facet'];
$realm = $form['#facetapi']['realm'];
$facet_settings = $this->getFacet($facet)->getSettings();
$options = $facet_settings->settings;
$search_ids = variable_get('search_api_facets_search_ids', array());
Expand All @@ -205,6 +236,7 @@ class SearchApiFacetapiAdapter extends FacetapiAdapter {
$form['global']['default_true'] = array(
'#type' => 'select',
'#title' => t('Display for searches'),
'#prefix' => '<div class="facetapi-global-setting">',
'#options' => array(
TRUE => t('For all except the selected'),
FALSE => t('Only for the selected'),
Expand All @@ -214,6 +246,7 @@ class SearchApiFacetapiAdapter extends FacetapiAdapter {
$form['global']['facet_search_ids'] = array(
'#type' => 'select',
'#title' => t('Search IDs'),
'#suffix' => '</div>',
'#options' => $search_ids,
'#size' => min(4, count($search_ids)),
'#multiple' => TRUE,
Expand Down Expand Up @@ -246,9 +279,42 @@ class SearchApiFacetapiAdapter extends FacetapiAdapter {
'#type' => 'select',
'#title' => t('Granularity'),
'#description' => t('Determine the maximum drill-down level'),
'#prefix' => '<div class="facetapi-global-setting">',
'#suffix' => '</div>',
'#options' => $granularity_options,
'#default_value' => isset($options['date_granularity']) ? $options['date_granularity'] : FACETAPI_DATE_MINUTE,
);

// Date facets don't support the "OR" operator (for now).
$form['global']['operator']['#access'] = FALSE;

$default_value = FACETAPI_DATE_YEAR;
if (isset($options['date_granularity_min'])) {
$default_value = $options['date_granularity_min'];
}
$form['global']['date_granularity_min'] = array(
'#type' => 'select',
'#title' => t('Minimum granularity'),
'#description' => t('Determine the minimum drill-down level to start at'),
'#prefix' => '<div class="facetapi-global-setting">',
'#suffix' => '</div>',
'#options' => $granularity_options,
'#default_value' => $default_value,
);
}

// Add an "Exclude" option for terms.
if (!empty($facet['query types']) && in_array('term', $facet['query types'])) {
$form['global']['operator']['#weight'] = -2;
unset($form['global']['operator']['#suffix']);
$form['global']['exclude'] = array(
'#type' => 'checkbox',
'#title' => t('Exclude'),
'#description' => t('Make the search exclude selected facets, instead of restricting it to them.'),
'#suffix' => '</div>',
'#weight' => -1,
'#default_value' => !empty($options['exclude']),
);
}
}
}
Loading