aboutsummaryrefslogtreecommitdiffstats
path: root/phpBB/includes/search
Commit message (Collapse)AuthorAgeFilesLines
...
* | | [ticket/10990] Changes for developNathan Guse2012-07-221-1/+1
|/ / | | | | | | PHPBB3-10990
* | Merge PR #832 branch 'dhruvgoel92/feature/postgresql-fulltext-search' into ↵Oleg Pudeyev2012-07-071-0/+856
|\ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | develop * dhruvgoel92/feature/postgresql-fulltext-search: (28 commits) [feature/postgresql-fulltext-search] supports_phrase_search function [feature/postgresql-fulltext-search] use proper variable name [feature/postgresql-fulltext-search] each config is checked if it is set [feature/postgresql-fulltext-search] fix formatting [feature/postgresql-fulltext-search] add docblocks to functions [feature/postgresql-fulltext-search] remove phrase search code [feature/postgresql-fulltext-search] define access control specifiers [feature/postgresql-fulltext-search] use version_compare [feature/postgresql-fulltext-search] fix language key [feature/postgresql-fulltext-search] remove Readme [feature/postgresql-fulltext-search] removes pcre check [feature/postgresql-fulltext-search] fix language tsearch2 to text search [feature/postgresql-fulltext-search] remove mbstring support [feature/postgresql-fulltext-search] change language for pgsql < 8.3 [feature/postgresql-fulltext-search] use phpbb_pcre_utf8_support() [feature/postgresql-fulltext-search] fix variable name [feature/postgresql-fulltext-search] Fix version comparison for 9.0+. [feature/postgresql-fulltext-search] fixing license [feature/postgresql-fulltext-search] assign empty stats [feature/postgresql-fulltext-search] remove backward compatibility ...
| * | [feature/postgresql-fulltext-search] supports_phrase_search functionDhruv Goel2012-07-081-1/+13
| | | | | | | | | | | | | | | | | | function to return the value of the the private property phrase_search PHPBB3-9730
| * | [feature/postgresql-fulltext-search] fix formattingDhruv Goel2012-07-051-2/+2
| | | | | | | | | | | | | | | | | | adds proper spaces after control keywords and comment symbol PHPBB3-9730
| * | [feature/postgresql-fulltext-search] add docblocks to functionsDhruv Goel2012-07-051-5/+54
| | | | | | | | | | | | | | | | | | Docblocks are added to the functions of this search backend. PHPBB3-9730
| * | [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 PR #844 branch 'dhruvgoel92/ticket/10936' into developOleg Pudeyev2012-06-191-92/+9
|\ \ \ | | | | | | | | | | | | | | | | | | | | * dhruvgoel92/ticket/10936: [ticket/10936] remove PCRE and mbstring support check [ticket/10936] fix language key
| * | | [ticket/10936] remove PCRE and mbstring support checkDhruv Goel2012-06-131-91/+8
| | | | | | | | | | | | | | | | | | | | | | | | | | | | Since PCRE UTF8 support already has a global check no need for mbstring or PCRE check here. PHPBB3-10936
| * | | [ticket/10936] fix language keyDhruv Goel2012-06-121-1/+1
| |/ / | | | | | | | | | | | | | | | | | | Language key changes from INCOMPATIBLE_VERSION to INCOMPATIBLE_DATABASE to make it more meaningfull. PHPBB3-10936
* | | Merge branch 'develop-olympus' into developNils Adermann2012-06-191-1/+1
|\ \ \ | |/ / |/| / | |/ | | * develop-olympus: [ticket/9551] uncomment line and change length to 255
| * [ticket/9551] uncomment line and change length to 255Dhruv Goel2012-06-191-1/+1
| | | | | | | | | | | | | | incase of partial collation change post_subject field will be changed back to the default collation and length 255. PHPBB3-9551
* | 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