Commit Graph

687 Commits

Author SHA1 Message Date
Michal Kleiner
ed2c135b38
FIX #241 - Support numerically indexed array of classes 2018-12-04 15:43:53 +13:00
Dylan Wagstaff
6eb6ebacb4
Merge pull request #233 from scott1702/feature/enable-macrons-default
Enable macrons and non-ASCII chars in search by default

Via the use of [`ASCIIFoldingFilter`](https://lucene.apache.org/solr/guide/6_6/filter-descriptions.html#FilterDescriptions-ASCIIFoldingFilter) which will convert chars from outside the ASCII range to their closest equivalent - e.g. an ō into a simple o.

>## ASCII Folding Filter
>This filter converts alphabetic, numeric, and symbolic Unicode characters which are not in the Basic Latin Unicode block (the first 127 ASCII characters) to their ASCII equivalents, if one exists. This filter converts characters from the following Unicode blocks:
>
> - C1 Controls and Latin-1 Supplement (PDF)
> - Latin Extended-A (PDF)
> - Latin Extended-B (PDF)
> - Latin Extended Additional (PDF)
> - Latin Extended-C (PDF)
> - Latin Extended-D (PDF)
> - IPA Extensions (PDF)
> - Phonetic Extensions (PDF)
> - Phonetic Extensions Supplement (PDF)
> - General Punctuation (PDF)
> - Superscripts and Subscripts (PDF)
> - Enclosed Alphanumerics (PDF)
> - Dingbats (PDF)
> - Supplemental Punctuation (PDF)
> - Alphabetic Presentation Forms (PDF)
> - Halfwidth and Fullwidth Forms (PDF)
> 
> 
> **Factory class**: solr.ASCIIFoldingFilterFactory
> 
> **Arguments**:
> `preserveOriginal` - (boolean, default false) If true, the original token is preserved: "thé" → "the", "thé"
> 
> **Example**:
> ```xml
> <analyzer>
>   <tokenizer class="solr.WhitespaceTokenizer"/>
>   <filter class="solr.ASCIIFoldingFilterFactory" preserveOriginal="false" />
> </analyzer>
> ```
> **In**: "á" (Unicode character 00E1)
> **Out**: "a" (ASCII character 97)
2018-10-24 09:22:38 +13:00
Scott Hutchinson
9834b94f97 Enable macrons in search by default 2018-10-23 19:03:02 +13:00
Dylan Wagstaff
e4fd283d11 remove composer branch alias 2018-10-17 12:21:42 +13:00
Dylan Wagstaff
f89818909a Merge branch '3.3' 2018-10-17 12:10:53 +13:00
Guy Marriott
7ee362a5c7
Merge pull request #230 from Lolly101/phpbin-change
enhancement allow php bin to be configured
2018-09-13 12:37:15 +12:00
Lauren Hodgson
117850f492 enhancement allow php bin to be configured 2018-09-13 11:22:18 +12:00
Robbie Averill
ba9cfcc652
Merge pull request #229 from sanderha/3.3
fix missing pagination in search results
2018-09-07 11:50:48 +02:00
Robbie Averill
ef7ff75035 Update code for PSR-2 compliance 2018-09-07 11:47:34 +02:00
Sander Hagenaars
f703559d65 conditional for adding start variable to results 2018-08-29 09:50:37 +02:00
Sander Hagenaars
4e543ec2b6 fix missing pagination in search results 2018-08-28 08:41:43 +02:00
Robbie Averill
eef914529e
Merge pull request #227 from creative-commoners/pulls/3.3/the-deprecate-that-got-away
Removing use of deprecated method
2018-08-27 10:13:37 +12:00
Guy Marriott
393d50c858
FIX Removing last usage of depreacted method 2018-08-24 10:12:18 +12:00
Robbie Averill
1f156dfbb4
Merge pull request #150 from silverstripe-terraformers/feature/complex-filtering
Add nested filtering via Criteria and Criterion objects.
2018-08-22 12:00:03 +12:00
Robbie Averill
f1f7b15569
FIX Add missing namespace import from alterQuery's PHPDoc block 2018-08-02 11:32:03 +12:00
Robbie Averill
e78d753152 Merge branch '3.3' 2018-07-26 15:02:45 +12:00
cpenny
43f415555a Added complex filtering via Criteria/Criterion and Adapters/Writers for Solr. 2018-07-12 13:28:40 +12:00
Dylan Wagstaff
f6aa457b8d
Merge pull request #225 from creative-commoners/pulls/3.3/extraction-docs
DOCS Update example for installing Solr ExtractingRequestHandler for 4.3.1
2018-07-09 09:51:25 +12:00
Robbie Averill
ac32661fe3 DOCS Update example for installing Solr ExtractingRequestHandler for 4.3.1 2018-07-06 15:41:17 +12:00
Daniel Hensby
2abe56f840
Remove duplicate quickstart script 2018-07-04 12:27:23 +01:00
Dylan Wagstaff
c133a67db6
Merge pull request #224 from creative-commoners/pulls/3.3/reduce-log-level
FIX Reduce log level so errors do not automatically output
2018-06-28 14:47:55 +12:00
Guy
fb446b613f
FIX Reduce log level so errors do not automatically output 2018-06-28 09:56:26 +12:00
Robbie Averill
3b27de2e57 Merge branch '3.3' 2018-06-27 17:01:36 +12:00
Robbie Averill
acf204c1d0 Merge branch '3.2' into 3.3 2018-06-27 17:01:09 +12:00
Robbie Averill
d2c4181826
Merge pull request #223 from creative-commoners/pulls/3.2/use-exception
FIX Use \Exception for catching Solr exceptions
2018-06-27 17:00:12 +12:00
Guy
97891b5fa3
Fixing linting issue that couldn't be automatically resolved 2018-06-27 16:54:08 +12:00
Guy
3e8b7f50a4
Automated linting commit 2018-06-27 16:50:54 +12:00
Guy
5c12baaaa9
FIX Use \Exception for catching Solr exceptions 2018-06-27 16:23:17 +12:00
Daniel Hensby
65b780f629
Merge pull request #215 from creative-commoners/pulls/new-docs
[WIP] overhaul docs
2018-06-25 15:07:11 +01:00
Andrew Aitken-Fincham
06c604c9f3
split querying into its own file
adding non-SiteTree dataobjects

subsite boosting
2018-06-20 17:14:50 +01:00
Andrew Aitken-Fincham
53eb826681
re-add default searchform docs
add blurb about simple theme

text extraction

synonyms
2018-06-20 17:14:49 +01:00
Andrew Aitken-Fincham
e08731d1f1
solr admin url
fix dead links and update quickstart

solr admin expansion

spellcheck docs

custom types

custom field types

highlighting

facets
2018-06-20 17:14:49 +01:00
Andrew Aitken-Fincham
fa6a412d72
add quickstart script
enable FTS automatically in quickstart

add a little idempotency to quickstart script

find _config.php better

configure and reindex as well

add default index to quickstart

add configure_server to quickstart
2018-06-20 17:14:49 +01:00
Andrew Aitken-Fincham
718b1d4e30
restructure to fewer files with anchors 2018-06-20 17:13:38 +01:00
Andrew Aitken-Fincham
51656d94b9
prune module scope, add boosting docs 2018-06-20 17:13:37 +01:00
Andrew Aitken-Fincham
8b5a3dd2e7
PR feedback 2018-06-20 17:10:12 +01:00
Andrew Aitken-Fincham
26a6581f9b
lay out docs skeleton
adding an index

adding data to an index

solr dev tasks

handling results

querying an index
2018-06-20 17:10:12 +01:00
Daniel Hensby
5fcaf87954
Merge pull request #217 from creative-commoners/pulls/quickstart_script
add quickstart script into vendor/bin
2018-06-20 16:13:08 +01:00
Andrew Aitken-Fincham
c218dca77e
add quickstart script into vendor/bin 2018-06-20 16:05:56 +01:00
Robbie Averill
072a9ce500 Merge branch '3.3' 2018-06-20 16:43:49 +12:00
Robbie Averill
7a51c4d6e7
Merge pull request #221 from creative-commoners/pulls/master/add-supported-module-badge
Add supported module badge to readme
2018-06-18 10:45:39 +12:00
Dylan Wagstaff
5b2bc9df29 Add supported module badge to readme 2018-06-15 17:41:34 +12:00
Dylan Wagstaff
393377c8f8
Merge pull request #219 from creative-commoners/pulls/3.3/travis-recipes
Add different core installer versions to Travis matrix and add own phpcs ruleset
2018-06-15 16:11:41 +12:00
Robbie Averill
fc36eac3b3 FIX Remove method clearing dummy data from test fixture methods, DB rollbacks do this already 2018-06-15 14:33:40 +12:00
Robbie Averill
2fdf87bbf1 FIX Remove resetDBSchema use, not required and breaking 4.2 tests
Also reduces tearDown to protected visiblity as it is in SapphireTest and optimises class imports
2018-06-15 14:07:30 +12:00
Robbie Averill
0afe8c92d7 Bump memory limit in Travis to 2G 2018-06-15 12:03:39 +12:00
Robbie Averill
67a3e3697e Add different core installer versions to Travis matrix and add own phpcs ruleset 2018-06-15 11:58:06 +12:00
Robbie Averill
87ae48bbe5 Merge branch '3.3' 2018-06-15 11:11:01 +12:00
Robbie Averill
750fd30ec5
Merge pull request #218 from creative-commoners/pulls/3.3/fix-case
BUG Fix psr-4 namespace errors due to incorrect case
2018-06-15 11:10:30 +12:00
Damian Mooyman
b653758c80
BUG Fix psr-4 namespace errors due to incorrect case 2018-06-15 10:34:14 +12:00