Commit Graph

569 Commits

Author SHA1 Message Date
Nicolas Demonte 45d111fc85 Ignore KeyError when looking up broken catalog entries 2022-06-20 12:45:52 +02:00
Frédéric Péters 95674a16b3 mangle searches for all _as_text indexes (#4668) 2014-06-10 13:25:56 +02:00
Frédéric Péters c81459df50 mangle Title like it's done for SearchableText (#4446) 2014-03-12 15:13:20 +01:00
Frédéric Péters 16a42c15b7 add some debugging code 2014-01-06 14:26:29 +01:00
Frédéric Péters 30fac51ca6 let iso8601date handle strings 2013-09-24 15:43:09 +02:00
Frédéric Péters f04a133cd7 fix range support 2013-09-24 15:41:42 +02:00
Frédéric Péters 534c32aa5d do not abort query on empty parameter 2013-07-17 16:29:13 +02:00
Frédéric Péters 24814c393f turn flare functions into properties, for better compatibility 2013-07-15 13:40:41 +02:00
Timo Stollenwerk 29d4d0ced5 Make jshint happy. 2013-07-10 11:56:48 +02:00
Timo Stollenwerk 36076d04f3 Integrate 'suggest-terms' view from ftw.solr. 2013-07-10 11:50:16 +02:00
Timo Stollenwerk 9f1459d591 Add plone.app.testing setup. For now we have to use PTC and p.a.testing at the same timeuntil we moved all tests to use p.a.testing. It does not make sense to write new tests for PTC. 2013-07-10 10:31:13 +02:00
Timo Stollenwerk 53912f4e03 Attempt to fix the configlet test that fails for Python 2.6 only. 2013-07-10 09:28:29 +02:00
Timo Stollenwerk 3d82ab2292 Add a more meaningful description for levensthein_distance. 2013-07-10 08:55:42 +02:00
Timo Stollenwerk ec227130f1 Fix last failing test that has been introduced by the fuzzy search option. 2013-07-10 08:49:27 +02:00
Timo Stollenwerk c0f4b82f1b levenshtein_distance is a float. Fix test. Sorry for the noise, I currently can't run the tests on my local machine. 2013-07-10 08:36:51 +02:00
Timo Stollenwerk ea13b04e8e Fix failing import/export step test. 2013-07-10 08:25:45 +02:00
Timo Stollenwerk 185d539f34 Fix failing configlet test. 2013-07-10 08:21:53 +02:00
Timo Stollenwerk f0765648ee Add levenshtein_distance setting to control panel and use it for fuzzy search. 2013-07-10 08:11:45 +02:00
Timo Stollenwerk 06df32597d Merge pull request #16 from tisto/fuzzy-search
Support fuzzy search
2013-07-08 00:56:47 -07:00
Carsten Senger d1694f3d9b test: Increase sleep time when testing commit_within
The test might fail if the solr used in the test environment is
very slow.
2013-07-05 10:05:37 +02:00
Timo Stollenwerk 13d53be573 Increase sleep time in testCommitWithinIndexing to fix a test failure on travis. There shouldn't be sleeps in tests though. 2013-07-05 08:55:42 +02:00
Timo Stollenwerk 63ab88fbab Whitespace 2013-07-05 08:54:50 +02:00
Timo Stollenwerk 76e33557bd Pep8 2013-07-05 08:47:41 +02:00
Carsten Senger b512e1faa0 Implement fuzzy search (w/o a config UI) 2013-07-04 15:34:32 +02:00
Timo Stollenwerk 16272b0cec Pep8 2013-07-03 08:56:13 +02:00
Tom Gross dfb947682b revert pull request #11 since it breaks a lot of tests 2013-06-30 10:00:30 +02:00
Tom Gross f41e273738 Merge branch 'master' of github.com:collective/collective.solr
Conflicts:
	CHANGES.txt
2013-06-27 11:02:15 +02:00
Tom Gross 7632229863 let getRID return a real integer 2013-06-26 17:59:06 +02:00
Timo Stollenwerk e9f276188e Merge pull request #11 from cedricmessiant/master
Give a name to I18NFacetTitlesVocabularyFactory
2013-06-20 02:39:26 -07:00
Timo Stollenwerk 169559ddc8 Make sure slashes are properly escaped in the search query. 2013-06-20 10:46:57 +02:00
Timo Stollenwerk 82faa75891 Pep8 2013-06-20 10:43:09 +02:00
Timo Stollenwerk 7e57ab1071 Implement the getDataOrigin method for the FlareContentListingObject that plone.app.contentlisting defines and that plone.app.search expects to exist. 2013-06-20 10:42:33 +02:00
Timo Stollenwerk 8929977d1e Pep8 2013-06-20 10:37:18 +02:00
Timo Stollenwerk 001db30dfd Pep8 2013-06-20 10:31:07 +02:00
Timo Stollenwerk 2ad71b202b Pep8 2013-06-20 09:41:50 +02:00
Tom Gross 6872c3c084 Merge remote-tracking branch 'collective/master'
Conflicts:
	CHANGES.txt
2013-04-30 08:14:02 +02:00
Tom Gross 208a3d68be fixed tests 2013-04-30 08:07:01 +02:00
Tom Gross 47fb3be590 search_form was removed in Plone 4.2 2013-04-20 10:34:24 +02:00
Tom Gross 15734d3879 Plone 4.3 compatibility of search view 2013-04-20 10:30:01 +02:00
Tom Gross 2b6298fc7a removed obsolete test 2013-04-14 17:07:55 +02:00
Tom Gross 9fc438a586 Python 2.6 compatibility 2013-04-14 12:36:27 +02:00
Tom Gross f679d8790c Merge remote-tracking branch 'collective/master'
Conflicts:
	.gitignore
	CHANGES.txt
	src/collective/solr/tests/test_integration.py
2013-04-14 12:32:40 +02:00
Cédric Messiant 5fa25d9394 Give a name to I18NFacetTitlesVocabularyFactory 2013-04-04 16:58:33 +03:00
Manuel Reinhardt ca3c35d56a fixed setQuery for Collection test. Test still fails, but this now reveals an actual problem, as the error also happens on a real site with plone.app.collection and collective.solr installed 2013-03-28 12:09:39 +00:00
Manuel Reinhardt f339178dc2 'Topic' is now 'Collection', round 3 2013-03-27 17:40:16 +00:00
Manuel Reinhardt 09152715fe CatalogTool.indexes is not patched any more, adapted test 2013-03-27 17:37:47 +00:00
Manuel Reinhardt 5b50ebbe57 removed testReindexSkipsNonReferencableItems, see a24b3b4cce 2013-03-27 17:32:41 +00:00
Manuel Reinhardt 30d01da887 'Topic' is now 'Collection', round 2 2013-03-27 17:32:02 +00:00
Manuel Reinhardt a24b3b4cce removed testNoIndexingWithMethodOverride as ATPortalTypeCriterion is now obsolete and there seems to be no other example of an object that does not want to be indexed 2013-03-27 17:12:27 +00:00
Manuel Reinhardt ecd6680bf9 'Topic' is now 'Collection' 2013-03-27 16:32:18 +00:00