aboutsummaryrefslogtreecommitdiffstats
path: root/phpBB/includes/search
Commit message (Collapse)AuthorAgeFilesLines
* [feature/postgresql-fulltext-search] remove phrase search codeDhruv Goel2012-07-051-33/+1
| | | | | | | Unused Code for phrase search removed as pgsql doesnt support it. An added message is displayed if user tries to perform exact phrase search. PHPBB3-9730
* [feature/postgresql-fulltext-search] define access control specifiersDhruv Goel2012-07-051-8/+8
| | | | PHPBB3-9730
* [feature/postgresql-fulltext-search] use version_compareDhruv Goel2012-07-051-5/+5
| | | | | | | version_compare is used for version comparision and pgsql version is now a global variable that is displayed in the acp too. PHPBB3-9730
* [feature/postgresql-fulltext-search] fix language keyDhruv Goel2012-07-051-1/+1
| | | | | | | Language key name not incompatible_database instead of version which was misleading PHPBB3-9730
* [feature/postgresql-fulltext-search] removes pcre checkDhruv Goel2012-07-051-8/+4
| | | | | | | PCRE UTF8 support is already checked globally. adds an option of pgsql version to acp. PHPBB3-9730
* [feature/postgresql-fulltext-search] remove mbstring supportDhruv Goel2012-07-051-81/+8
| | | | | | | Remove the usage of mbstring regex engine when PCRE does not support UTF8 since its a requirement for phpbb 3.1 PHPBB3-9730
* [feature/postgresql-fulltext-search] change language for pgsql < 8.3Dhruv Goel2012-07-051-1/+1
| | | | PHPBB3-9730
* [feature/postgresql-fulltext-search] use phpbb_pcre_utf8_support()Dhruv Goel2012-07-051-6/+3
| | | | | | Use phpBB's built in function for checking PCRE lib support. PHPBB3-9730
* [feature/postgresql-fulltext-search] fix variable nameDhruv Goel2012-07-051-4/+4
| | | | | | | Variable name used is now tsearch_usable instead of tsearch_builtin to reflect its actual purpose. PHPBB3-9730
* [feature/postgresql-fulltext-search] Fix version comparison for 9.0+.Oleg Pudeyev2012-07-051-1/+1
| | | | PHPBB3-9730
* [feature/postgresql-fulltext-search] fixing licenseDhruv Goel2012-07-051-2/+1
| | | | PHPBB3-9730
* [feature/postgresql-fulltext-search] assign empty statsDhruv Goel2012-07-051-0/+6
| | | | | | | Blank array is assigned to stats incase pgsql fulltext search backend is not compatible PHPBB3-9730
* [feature/postgresql-fulltext-search] remove backward compatibilityDhruv Goel2012-07-051-39/+5
| | | | | | | removes backward compatibility before PostgreSQL ver 8.3 if version is before 8.3 displays error. PHPBB3-9730
* [feature/postgresql-fulltext-search] minor changesDhruv Goel2012-07-051-3/+3
| | | | | | | Changes to comply with other backend conventions. include $user as global variable to access it inside init(); PHPBB3-9730
* [feature/postgresql-fulltext-search] minor changesDhruv Goel2012-07-051-6/+12
| | | | | | | Some changes in code to get it work against current develop. PosgreSQL Fulltext search works for new install now. PHPBB3-9730
* [feature/postgresql-fulltext-search] Fixed bracesOleg Pudeyev2012-07-051-6/+8
| | | | | | Fixes braces in fulltext_postgres.php to comply with phpbb conventions. PHPBB3-9730
* [feature/postgresql-fulltext-search] Remove closing php tagOleg Pudeyev2012-07-051-2/+0
| | | | PHPBB3-9730
* [feature/postgresql-fulltext-search] PostgreSQL fulltext search, version 3.we3b2012-06-081-49/+114
| | | | PHPBB3-9730
* [feature/postgresql-fulltext-search] PostgreSQL fulltext search, version 2.wagnerch2012-06-081-52/+24
| | | | PHPBB3-9730
* [feature/postgresql-fulltext-search] PostgreSQL fulltext search, version 1.wagnerch2012-06-081-0/+893
| | | | PHPBB3-9730
* Merge branch 'develop-olympus' into developOleg Pudeyev2012-03-082-16/+3
|\ | | | | | | | | | | | | | | | | | | | | | | * develop-olympus: [ticket/10653] Call get_row_count of base class in mysql get_estimated_row_count [ticket/9813] Only get posts table row count if we detected a fulltext index. [ticket/9813] Also use estimated row count of posts table for fulltext mysql. [ticket/10653] Fix parameter to substr() in unit tests. Should be 1, not -1. [ticket/10653] Unit tests for get_row_count() and get_estimated_row_count(). [ticket/10653] Add ability to count table rows to database abstraction layer. [ticket/9813] Use table status row count only if greater than 100000 or exact. [ticket/9813] Use SHOW TABLE STATUS to get search stats for native on MySQL.
| * [ticket/9813] Only get posts table row count if we detected a fulltext index.Andreas Fischer2012-03-081-1/+1
| | | | | | | | PHPBB3-9813
| * [ticket/9813] Also use estimated row count of posts table for fulltext mysql.Andreas Fischer2012-03-051-5/+1
| | | | | | | | | | | | | | | | Since this is 'only' for statistics anyway, using an estimated value does no harm. Also, if MyISAM is the underlying storage engine for the posts table, the value will actually be exact. PHPBB3-9813
| * [ticket/10653] Add ability to count table rows to database abstraction layer.Andreas Fischer2012-03-031-44/+2
| | | | | | | | PHPBB3-10653
| * [ticket/9813] Use table status row count only if greater than 100000 or exact.Andreas Fischer2012-03-031-26/+41
| | | | | | | | PHPBB3-9813
| * [ticket/9813] Use SHOW TABLE STATUS to get search stats for native on MySQL.Andreas Fischer2012-03-031-10/+28
| | | | | | | | PHPBB3-9813
* | Merge branch 'develop-olympus' into developAndreas Fischer2012-02-253-3/+3
|\ \ | |/ | | | | | | | | * develop-olympus: [ticket/10630] Use sql_like_expression() method instead of hardcoded LIKE '%x%' [ticket/10630] Perform array_unique on authors array before creating the query
| * [ticket/10630] Use sql_like_expression() method instead of hardcoded LIKE '%x%'Joas Schilling2012-02-201-1/+1
| | | | | | | | PHPBB3-10630
| * [ticket/10630] Perform array_unique on authors array before creating the queryJoas Schilling2012-02-202-2/+2
| | | | | | | | | | | | | | This is needed to avoid an additional appearance for an author for every post he made. PHPBB3-10630
* | [ticket/10579] Delete extra v2 from license block.Oleg Pudeyev2012-01-121-1/+1
| | | | | | | | PHPBB3-10579
* | [ticket/9916] Updating header license and removing Version $Id$Unknown2011-12-313-6/+3
| | | | | | | | PHPBB3-9916
* | [feature/extension-manager] Add docblocks to new search backend methodsNils Adermann2011-11-182-2/+12
| | | | | | | | PHPBB3-10323
* | [feature/extension-manager] Make search backends loadable from extensionsNils Adermann2011-09-293-19/+16
| | | | | | | | | | | | | | | | Search backends are now required to be autoloadable. The database updater to 3.1 tries to guess the class name as phpbb_search_<oldname> which works for the default backends we ship. PHPBB3-10323
* | [ticket/10329] Add phpbb_ prefix to new pcre_utf8_support() function.Andreas Fischer2011-08-211-1/+1
| | | | | | | | | | | | Introduced by 6b4d0a254218e8d40151ca1bdff8c439f89502e9. PHPBB3-10329
* | [ticket/9574] Add pcre_utf8_support() functionIgor Wiedler2010-12-281-1/+1
| | | | | | | | | | | | | | Refactor the check for PCRE UTF-8 support into a new pcre_utf8_support() function. PHPBB3-9574
* | [ticket/9574] Remove conditional PHP<5.2 codeIgor Wiedler2010-12-281-6/+3
| | | | | | | | | | | | | | There is a large amount of conditional code for PHP < 5.2 that can be removed with phpBB 3.1. PHPBB3-9574
* | [ticket/9556] Drop php closing tags, add trailing newlineIgor Wiedler2010-11-113-6/+0
|/ | | | | | | | | | | | Closing tags converted using Oleg's script. remove-php-end-tags.py -a . Trailing newlines added using the following where $ext is file extension. find . -type f -name "*.$ext" -print | xargs printf "e %s\nw\n" | ed -s; Extensions: php, css, html, js, xml. PHPBB3-9556
* [ticket/9595] List min/max characters indexed by search for mysql_fulltext.Andreas Fischer2010-10-211-0/+8
| | | | PHPBB3-9595
* Merge branch 'ticket/cs278/9760' into develop-olympusAndreas Fischer2010-08-101-1/+12
|\ | | | | | | | | * ticket/cs278/9760: [ticket/9760] Remove unrestricted wildcards from search terms.
| * [ticket/9760] Remove unrestricted wildcards from search terms.Chris Smith2010-08-081-1/+12
| | | | | | | | | | | | | | | | Wildcards without any further result restrictions will cause phpBB to search for everything, potentially allowing a DoS attack against the DB server by any user who can use the search system. PHPBB3-9760
* | [ticket/9749] Fulltext mysql unexpected behavior on entering a dash in queryJosh Woody2010-07-291-1/+1
|/ | | | | | | | | The Fulltext_mysql class had different behavior when a dash was entered in the search query than the fulltext_native class. Specifically, a dash was automatically turned into boolean NOT even when the user wanted to search for legitimate hyphenated words like farty-pants PHPBB3-9749
* Safe us some more calls to $db->sql_escape().Andreas Fischer2010-01-112-4/+4
| | | | | | | Authorised by: naderman :-P git-svn-id: file:///svn/phpbb/branches/phpBB-3_0_0@10399 89ea8834-ac86-4346-8a33-228a782c2dd0
* Improved search query performance through sorting words by their occurance. ↵Nils Adermann2009-12-231-8/+13
| | | | | | [Bug #21555] git-svn-id: file:///svn/phpbb/branches/phpBB-3_0_0@10377 89ea8834-ac86-4346-8a33-228a782c2dd0
* Bug #54325 - Fulltext-MySQL search for keywords and username at the same ↵Joas Schilling2009-11-261-1/+1
| | | | | | | | | time. (Regression from r9931) Authorised by: bantu git-svn-id: file:///svn/phpbb/branches/phpBB-3_0_0@10292 89ea8834-ac86-4346-8a33-228a782c2dd0
* correct method commentMeik Sievertsen2009-08-311-4/+17
| | | | git-svn-id: file:///svn/phpbb/branches/phpBB-3_0_0@10075 89ea8834-ac86-4346-8a33-228a782c2dd0
* fix r9713 for #36565Joas Schilling2009-08-052-8/+4
| | | | | | Authorised by: AcydBurn git-svn-id: file:///svn/phpbb/branches/phpBB-3_0_0@9931 89ea8834-ac86-4346-8a33-228a782c2dd0
* Fix bug #36565 - Search by authorname does not display posts of guests and ↵Joas Schilling2009-07-022-40/+87
| | | | | | | | | deleted users Authorised by: naderman git-svn-id: file:///svn/phpbb/branches/phpBB-3_0_0@9713 89ea8834-ac86-4346-8a33-228a782c2dd0
* Search for 'topic title only' and 'first post' should work again for ↵Meik Sievertsen2009-04-181-0/+8
| | | | | | non-mysql dbms. (Bug #40605) git-svn-id: file:///svn/phpbb/branches/phpBB-3_0_0@9473 89ea8834-ac86-4346-8a33-228a782c2dd0
* Fix topic title only and first post search option with the ↵Meik Sievertsen2009-04-181-6/+6
| | | | | | SQL_CALC_FOUND_ROWS fix git-svn-id: file:///svn/phpbb/branches/phpBB-3_0_0@9472 89ea8834-ac86-4346-8a33-228a782c2dd0
* erm, forgot to globalize $config. :/Meik Sievertsen2009-04-181-1/+1
| | | | git-svn-id: file:///svn/phpbb/branches/phpBB-3_0_0@9471 89ea8834-ac86-4346-8a33-228a782c2dd0