aboutsummaryrefslogtreecommitdiffstats
path: root/include/functions_search.inc.php (unfollow)
Commit message (Collapse)AuthorFilesLines
2016-02-13feature #355, OR with other "search by word" resultsplegall1-17/+22
+ use $logger instead of old style "echo" for debugging
2016-02-13feature #355, apply search by word on tagsplegall1-2/+34
we "simulate" a search by tag, but we still perform a "search by words" AND "search by tags", which lead to different result compared to "word on title OR file OR description OR tags"
2016-01-14happy new year 2016, all headers updatedplegall1-1/+1
2015-03-12bug 3209: quick search add author: syntax rvelices1-0/+9
git-svn-id: http://piwigo.org/svn/trunk@31032 68402e56-0260-453c-a942-63ccdbb3a9ee
2014-09-26bug 3148: quick search Merged -r29804 from trunk to branch 2.7rvelices1-5/+9
git-svn-id: http://piwigo.org/svn/branches/2.7@29805 68402e56-0260-453c-a942-63ccdbb3a9ee
2014-09-26git-svn-id: http://piwigo.org/svn/trunk@29804 ↵rvelices1-5/+9
68402e56-0260-453c-a942-63ccdbb3a9ee
2014-09-11feature 3139: search photo by idplegall1-0/+4
git-svn-id: http://piwigo.org/svn/trunk@29483 68402e56-0260-453c-a942-63ccdbb3a9ee
2014-09-08bug 3136: search by author must be an exact match, now that we have the ↵plegall1-1/+8
author listbox git-svn-id: http://piwigo.org/svn/trunk@29431 68402e56-0260-453c-a942-63ccdbb3a9ee
2014-07-10bug 3056 quick search - fix regex for date searches (was not working with ↵rvelices1-2/+2
months 11 and 12) git-svn-id: http://piwigo.org/svn/trunk@29022 68402e56-0260-453c-a942-63ccdbb3a9ee
2014-07-07bug 3056 quick search - allow negative values in numeric scope searchesrvelices1-2/+2
git-svn-id: http://piwigo.org/svn/trunk@28996 68402e56-0260-453c-a942-63ccdbb3a9ee
2014-07-07bug 3056 quick search - small fixes & improvementsrvelices1-19/+46
- scopes are case insesitive date:2013 and Date:2013 are the same thing - use strict comparison in scopes when required e.g. date:<2013 is not matching year 2013 - allow scopes (in plugins) to overwrite behaviour of space characters ... git-svn-id: http://piwigo.org/svn/trunk@28992 68402e56-0260-453c-a942-63ccdbb3a9ee
2014-06-17feature 3093: search form, ability to select the list of properties on whichplegall1-1/+7
the search terms applies. feature 3094: minor redesign on search form. git-svn-id: http://piwigo.org/svn/trunk@28709 68402e56-0260-453c-a942-63ccdbb3a9ee
2014-06-02feature 3010 : replace trigger_action/event by trigger_notify/changemistic1001-5/+5
git-svn-id: http://piwigo.org/svn/trunk@28587 68402e56-0260-453c-a942-63ccdbb3a9ee
2014-05-31quick search - small fixes & improvementsrvelices1-10/+14
available number of comments per user do not use visible_categories (only forbidden) git-svn-id: http://piwigo.org/svn/trunk@28579 68402e56-0260-453c-a942-63ccdbb3a9ee
2014-05-13bug 3056: quick search - cache results for 5 minutes + comments + small fixrvelices1-2/+35
git-svn-id: http://piwigo.org/svn/trunk@28459 68402e56-0260-453c-a942-63ccdbb3a9ee
2014-05-06bug 3056: quick search - fix variable namervelices1-1/+1
git-svn-id: http://piwigo.org/svn/trunk@28383 68402e56-0260-453c-a942-63ccdbb3a9ee
2014-04-13bug 3056: quick search - fixesrvelices1-2/+3
git-svn-id: http://piwigo.org/svn/trunk@28165 68402e56-0260-453c-a942-63ccdbb3a9ee
2014-04-10bug 3056: quick search - better handling of short words and photo acronyms ↵rvelices1-3/+22
such as AF-S EF-S X-E2 etc ... git-svn-id: http://piwigo.org/svn/trunk@28152 68402e56-0260-453c-a942-63ccdbb3a9ee
2014-04-09bug 3056: quick search - now tag search is the same as image search (full ↵rvelices1-208/+89
text match or like operator) git-svn-id: http://piwigo.org/svn/trunk@28144 68402e56-0260-453c-a942-63ccdbb3a9ee
2014-04-08bug 3056: quick search - fix warning; better management of variants and ↵rvelices1-42/+50
short words git-svn-id: http://piwigo.org/svn/trunk@28128 68402e56-0260-453c-a942-63ccdbb3a9ee
2014-04-06bug 3056: quick search - added events for plugins; completed help filervelices1-11/+22
git-svn-id: http://piwigo.org/svn/trunk@28092 68402e56-0260-453c-a942-63ccdbb3a9ee
2014-04-05type error in prev commitrvelices1-1/+1
git-svn-id: http://piwigo.org/svn/trunk@28090 68402e56-0260-453c-a942-63ccdbb3a9ee
2014-04-05bug 3069: add quick search as filter in batch managerrvelices1-15/+24
git-svn-id: http://piwigo.org/svn/trunk@28087 68402e56-0260-453c-a942-63ccdbb3a9ee
2014-04-05bug 3056: quick search - fixes and date range scopes (posted:2003 ↵rvelices1-54/+152
posted:>2003 posted:*2003 posted:2003-05..20050312 etc) git-svn-id: http://piwigo.org/svn/trunk@28080 68402e56-0260-453c-a942-63ccdbb3a9ee
2014-04-04bug 3056: quick search - fixes and better numeric range searches examples:rvelices1-7/+42
ratio:0.9..1.1 ratio:0.9.. ratio:>0.9 ratio:<1.1 ratio:>3/2 ratio:16/9 git-svn-id: http://piwigo.org/svn/trunk@28066 68402e56-0260-453c-a942-63ccdbb3a9ee
2014-04-03bug 3056: quick search - rvelices1-100/+282
added scoped searches tag: photo: file: added range searches width:..1024 height: ratio: size: filesize: hits: score: git-svn-id: http://piwigo.org/svn/trunk@28065 68402e56-0260-453c-a942-63ccdbb3a9ee
2014-04-03bug 3056: quick search - fix + prepare for scoped/range searchesrvelices1-19/+24
git-svn-id: http://piwigo.org/svn/trunk@28064 68402e56-0260-453c-a942-63ccdbb3a9ee
2014-03-23bug 3056: quick search rvelices1-7/+43
- added inflectors for english and french languages - current quick search is kept in the quick search input box - small fixes git-svn-id: http://piwigo.org/svn/trunk@27884 68402e56-0260-453c-a942-63ccdbb3a9ee
2014-03-22bug 3056: quick search OR operator priority taken into accountrvelices1-31/+102
search for 'mary qwerty' will ignore 'qwerty' and return only results for 'mary' if there is no such thing as 'qwerty' in the photos (if there was 'mary' and 'qwerty', the results for both 'mary' AND 'qwerty' would be shown) git-svn-id: http://piwigo.org/svn/trunk@27882 68402e56-0260-453c-a942-63ccdbb3a9ee
2014-03-21bug 3056: Improve/rewrite quick search engine: by default AND is used to ↵rvelices1-285/+338
match all entered terms, OR operator, grouping using brackets () still work in progress git-svn-id: http://piwigo.org/svn/trunk@27868 68402e56-0260-453c-a942-63ccdbb3a9ee
2014-01-17bug 3020 and bug 3021 fixed: additionnal checks in search inputsplegall1-0/+6
git-svn-id: http://piwigo.org/svn/trunk@26825 68402e56-0260-453c-a942-63ccdbb3a9ee
2014-01-12render_tag_name trigger transmit full tag data as second parametermistic1001-1/+1
git-svn-id: http://piwigo.org/svn/trunk@26649 68402e56-0260-453c-a942-63ccdbb3a9ee
2014-01-05Update headers to 2014. Happy new year!!mistic1001-1/+1
git-svn-id: http://piwigo.org/svn/trunk@26461 68402e56-0260-453c-a942-63ccdbb3a9ee
2013-11-23feature 2999: documentation of functions_search and functions_tagmistic1001-35/+76
git-svn-id: http://piwigo.org/svn/trunk@25658 68402e56-0260-453c-a942-63ccdbb3a9ee
2013-10-20fix parse error from r25018mistic1001-1/+1
git-svn-id: http://piwigo.org/svn/trunk@25026 68402e56-0260-453c-a942-63ccdbb3a9ee
2013-10-19remove all array_push (50% slower than []) + some changes missing for ↵mistic1001-34/+15
feature:2978 git-svn-id: http://piwigo.org/svn/trunk@25018 68402e56-0260-453c-a942-63ccdbb3a9ee
2013-04-12fix quick search php warnings in some very rare casesrvelices1-5/+9
git-svn-id: http://piwigo.org/svn/trunk@22175 68402e56-0260-453c-a942-63ccdbb3a9ee
2013-01-01 update Piwigo headers to 2013 (the end of the world didn't occur as ↵plegall1-1/+1
expected on r12922) git-svn-id: http://piwigo.org/svn/trunk@19703 68402e56-0260-453c-a942-63ccdbb3a9ee
2012-10-13feature 2760: allow tag exclusion in quick search rvelices1-110/+164
git-svn-id: http://piwigo.org/svn/trunk@18636 68402e56-0260-453c-a942-63ccdbb3a9ee
2012-09-24quick search - better handling of wildcard begin/end in tag names ↵rvelices1-53/+103
(technically rewrote parts of query analser) still to do: exclusion of matching tags git-svn-id: http://piwigo.org/svn/trunk@18207 68402e56-0260-453c-a942-63ccdbb3a9ee
2012-09-04bug 2735: fix/improve non latin language tagsrvelices1-15/+0
a. non latin tags (greek/cyrillic...) are not sorted case-insesitive and group by letter view in tag list is not case insesitive b. quick searching tag names does not perform correctly accent folding (e.g. Köln and Koln do not match) and case insesitivity for non latin letters c. missing from remove_accents characters in romanian language (Latin Extended-B) ? c8 98 = LATIN CAPITAL LETTER S WITH COMMA BELOW ? c8 99 = LATIN SMALL LETTER S WITH COMMA BELOW ? c8 9a = LATIN CAPITAL LETTER T WITH COMMA BELOW ? c8 9b = LATIN SMALL LETTER T WITH COMMA BELOW d. str2url allow non latin letters in output only if the input does not contain any valid lating letter/digit. we should always allow non latin letters in output git-svn-id: http://piwigo.org/svn/trunk@17748 68402e56-0260-453c-a942-63ccdbb3a9ee
2012-01-17update Piwigo headers to 2012, last change before the expected (or not) ↵mistic1001-1/+1
apocalypse git-svn-id: http://piwigo.org/svn/trunk@12922 68402e56-0260-453c-a942-63ccdbb3a9ee
2011-08-22bug fix quick search - file name was not correctly search (typo error)rvelices1-1/+1
git-svn-id: http://piwigo.org/svn/trunk@11979 68402e56-0260-453c-a942-63ccdbb3a9ee
2011-04-12feature:2248 Improve quick/query search resultsrvelices1-59/+187
git-svn-id: http://piwigo.org/svn/trunk@10340 68402e56-0260-453c-a942-63ccdbb3a9ee
2011-01-18Happy new year 2011plegall1-2/+2
Change "Piwigo - a PHP based picture gallery" into "Piwigo - a PHP based photo gallery" git-svn-id: http://piwigo.org/svn/trunk@8728 68402e56-0260-453c-a942-63ccdbb3a9ee
2011-01-17bug 2105 : Browsing tags is slow if tags contains many photos rvelices1-25/+1
git-svn-id: http://piwigo.org/svn/trunk@8726 68402e56-0260-453c-a942-63ccdbb3a9ee
2011-01-11bug 2101: php warning/errors + broken navigation when using the advanced ↵rvelices1-1/+1
search form git-svn-id: http://piwigo.org/svn/trunk@8611 68402e56-0260-453c-a942-63ccdbb3a9ee
2010-07-05Bug 1763 fixed : [PostgreSQL] double quote used in queriesnikrou1-4/+4
git-svn-id: http://piwigo.org/svn/trunk@6664 68402e56-0260-453c-a942-63ccdbb3a9ee
2010-06-10Bug 1730 fixed : search doesn't work when database engine is not mysqlnikrou1-1/+1
For posgresql and sqlite date must allways use day and month with two diggits. git-svn-id: http://piwigo.org/svn/trunk@6518 68402e56-0260-453c-a942-63ccdbb3a9ee
2010-04-06fixes only:rvelices1-1/+1
- some searches returned bad array for page['items'] (resulting in php warnings and sometimes mysql fatal error) still existing in branch 2.0 - mysql fatal error in admin maintenance - php warn in plugins_list.php - fix check on function param in admin/include/functions.php git-svn-id: http://piwigo.org/svn/trunk@5691 68402e56-0260-453c-a942-63ccdbb3a9ee