root / trunk / phpBB / includes / search / fulltext_native.php

View | Annotate | Download (47.5 KB)

  • svn:eol-style: LF
  • svn:keywords: Author Date Id Revision
# Date Author Comment
10211 10/04/2009 07:14 PM Meik Sievertsen

Copy 3.0.x branch to trunk

9931 08/05/2009 04:28 PM Joas Schilling

fix r9713 for #36565

Authorised by: AcydBurn

9713 07/02/2009 10:28 AM Joas Schilling

Fix bug #36565 - Search by authorname does not display posts of guests and deleted users

Authorised by: naderman

9473 04/18/2009 05:46 PM Meik Sievertsen

Search for 'topic title only' and 'first post' should work again for non-mysql dbms. (Bug #40605)

9472 04/18/2009 05:42 PM Meik Sievertsen

Fix topic title only and first post search option with the SQL_CALC_FOUND_ROWS fix

9471 04/18/2009 05:30 PM Meik Sievertsen

erm, forgot to globalize $config. :/

9440 04/11/2009 01:49 PM Meik Sievertsen

[Change] Performance improvements for native fulltext search (patch by Paul)
(This has been tested for 2 weeks in a live environment)

9438 04/11/2009 11:09 AM Meik Sievertsen

New search option: Maximum number of words allowed to search for.
(the more words the more database load)

9173 12/04/2008 05:01 PM Nils Adermann

not quite

9172 12/04/2008 04:56 PM Nils Adermann

Use a left join for the topics table on search to avoid trouble with FROM syntax on some databases (Bug #37005)

9126 11/26/2008 08:17 PM Nils Adermann

Tell users to recreate the search index after changing the common word threshold for fulltext_native (Bug #36345)

8879 09/18/2008 04:32 PM Meik Sievertsen

cleanup, related to bug #19195

8878 09/18/2008 04:31 PM Meik Sievertsen

Fix native full text search on postgresql while using excluding keyword matches. (Bug #19195)

8604 06/04/2008 07:25 PM Nils Adermann

Topic searches by author no longer return invalid results [Bug #11777]

8598 06/04/2008 05:37 PM Nils Adermann

removed executable props [Bug #6464]

8479 03/29/2008 01:22 AM Nils Adermann

Hiding everywhere little buggers, eh?

8285 12/26/2007 03:53 PM

This commit was manufactured by cvs2svn to create branch 'phpBB-3_0_0'.

8147 10/05/2007 04:36 PM Meik Sievertsen

dumdidum... sorry. ;)

7961 07/27/2007 07:33 PM Meik Sievertsen

err, forgot to commit

7931 07/23/2007 07:13 PM Henry Sudhof

a little comment

7930 07/23/2007 07:03 PM Henry Sudhof

#13579
This changes the signature of author_search. Search backends will need adjustment.

7608 05/16/2007 04:45 PM Meik Sievertsen

label changes, language fixes...

7559 05/13/2007 06:15 PM Nils Adermann

- correctly transfer the search query across search result pages
- changed highlighting so foo* will match foo again [Bug #10031]
- restructured magic urls (functionality still mostly the same), added a check for entities in urls and punctuation at the end of magic urls [Bugs #10639, #10293]...

7469 05/05/2007 12:22 PM Meik Sievertsen

Better support for nested transactions...

7378 04/21/2007 05:19 AM David M

can't be negative

7310 04/09/2007 06:04 PM Nils Adermann

- correctly initialise $words in fulltext_native [Bug #347]
- display ignored words from sub-search-queries
- "Return to search page" [Bug #9591]
- spelling in coding guidelines
- htmlspecialchars forwarded_for before logging

7190 03/14/2007 09:54 PM Nils Adermann

quick fix

7186 03/14/2007 04:19 AM David M
  • empty log message ***
7182 03/13/2007 11:00 PM Nils Adermann

- improvements to search indexing performance, espacially tidy() by adding a word_count column, the database update from b5 to next version will take quite a while on bigger databases, I also lowered the default common word threshold from 20 to 5 percent, big boards might want to use 3 or 2 percent, 20 was way too high...

7119 03/04/2007 05:05 PM Nils Adermann

- added a UNIQUE index on the wordmatch table
- some modifications of search indexing which might improve the speed and hopefully fixes [Bug #8352]
- added logging to search indexing [Bug #8384]

7041 02/23/2007 03:52 PM David M

#8074

7036 02/22/2007 08:58 PM David M

#8244
- cleaned up the TRUNCATE/DELETE FROM in the native search backend
- fixed an imporoper default value on some upgrades

6954 02/01/2007 04:13 AM David M

- should fix some Firebird issues ( can't believe that nobody found this until now )

6944 01/28/2007 02:43 PM Nils Adermann

- ignore too short/too long search words [Bug #7438]

6915 01/21/2007 07:33 PM Meik Sievertsen

fixing some bugs, most being submitted grammatical/spelling errors.

6886 01/13/2007 11:32 PM Nils Adermann

- solved a problem with magic urls inside brackets, and with bbcodes being treated as IPv6 addresses
- turn NOT IN () and IN () into 1=1 and 1=0 so the database will understand it, instead of throwing an error in sql_in_set [Bug #7118]
- some tiny fixes to fulltext_native

6814 12/27/2006 01:06 AM Nils Adermann

- display search type as page title for premade searches [Bug #6508]
- flash enabled on user side by default, so that admins can actually change anything by activating it (still disabled by default)
- properly implemented password complexity check [Bug #6584]...

6800 12/23/2006 08:06 PM David M

#6414

6708 12/03/2006 07:03 PM Nils Adermann

- author search should use clean names for searching [Bug #5752]
- local moderators are moderators too!
- don't show a "word is not contained in any post" message for ignored common words
- bold search words in search error messages [Bug #5762]

6674 11/27/2006 08:32 PM Meik Sievertsen

#5610

6595 11/17/2006 08:37 PM Meik Sievertsen

adjust some comments to work with phpdocumentor. :)

6584 11/15/2006 04:35 PM Meik Sievertsen

- fixes for the following bugs:
#5326
#5318
#5304
#5290
#5288
#5278
#5276
#5272
#5266
- also fixed the "Call-time pass-by-reference" bug #5252
- within this step changed the normalize calls to require references.
- added captcha size variables to the class scope (suggestion was posted at area51)

6562 11/10/2006 03:55 PM Meik Sievertsen

keywords is a string...

6559 11/05/2006 09:52 PM Nils Adermann

- Bug #5090

6548 11/03/2006 10:05 PM Meik Sievertsen

ok, i am an idiot...

6511 10/19/2006 03:55 PM Meik Sievertsen

Revised attachment categories a bit
Fixes for the following bugs:
#4830
#4818
#4816
#4810
#4808
#4798
#4796
#4772
#4662
#4646
#4546
#4524
#4270

I hope not having introduced additional severe errors :)

6497 10/14/2006 04:56 PM Meik Sievertsen

- store sql_layer directly within the layer itself
- new method sql_multi_insert to circumvent db-specific hacks
(hopefully not introduced any parsing errors)

6494 10/14/2006 12:10 AM Nils Adermann

- introducing clean usernames, needs to be tested more, I'm not sure I didn't miss anything
- homograph list should probably be extended

6452 10/07/2006 02:36 PM Meik Sievertsen

tried to begin adjusting all string functions where applicable - still a lot to do.
i hope i catched all relevant sections and did not mess something up.

6422 10/01/2006 10:48 AM David M

- forgot to make the same change to the ODBC driver
- MySQL 3.x works now
- FirebirdSQL is now on the same level as MySQL and PostgreSQL, zero hacks exist inside the core code now

6380 09/18/2006 12:02 AM Nils Adermann

- no more encoding mixture, say hello to UTF-8 (I'll add a validation solution for PHP 4.3.3/4 ASAP) [side effect: fixes Bug #3762]
- take local server time into consideration for birthday/age calculation
- faster active topic search
- allow changing active topic time frame [Bug #4150]...

6321 08/28/2006 07:20 PM Nils Adermann

- birthdays/age in user's timezone and not server's local time
- parse bbcode in posts with fewer characters than selected maximum on search results page
- retrieve search word context in posts which are longer than maximum characters (no raw BBCode anymore)...

6289 08/13/2006 02:23 PM Nils Adermann

we don't want all topics when searching for just a few\!

6273 08/12/2006 04:58 PM Nils Adermann

m_approve_fid should be negated

6271 08/12/2006 03:14 PM Meik Sievertsen

sql_in_set changes

6254 08/08/2006 09:02 PM Nils Adermann

- fixed some problems with themes
- added support for {IMG_NAME_SRC}, {IMG_NAME_WIDTH} and {IMG_NAME_HEIGHT}
- fulltext_native has to use group by in a few more quries

6225 08/01/2006 06:14 PM Nils Adermann

- acm_file uses an index pointer to the current row instead of shifting the result array now [Bug #2451]
- all dbals adjusted to use the cache in sql_fetchfield, sql_rowseek, sql_numrows and sql_freeresult [Bug #2451]
- use include_once for dbal.php to at least theoretically allow connections to multiple databases at once...

6211 07/27/2006 09:02 PM Nils Adermann

- fixed the age calculation (note: turn on your brain before commiting something like this the next time) [Bug #3337]
- removed the split_words array, introduced an enforced search_query
- the forum used for global topics in the search is now a forum, and no longer a category [Bug #2561]...

6208 07/24/2006 09:53 AM ludovic_arnaud

Fixed: bug #3243

6169 07/11/2006 02:37 AM ludovic_arnaud

Fixed: forgot to remove some debug code :(

6168 07/11/2006 02:04 AM ludovic_arnaud

Fixed: bug #3191 take two. That one should work as expected.

6167 07/11/2006 01:55 AM ludovic_arnaud

Fixed: bug #3191 as per NeoThermic's patch

6153 07/07/2006 10:38 PM Nils Adermann

- fix a stupid bug in style.php
- and we'd also like the post encoding :D

6152 07/07/2006 08:43 PM Nils Adermann

- fixed a parse error (oops)
- pass forum_ids to search indexing functions
- fixed a bug in fulltext_native's cache destroying

6151 07/07/2006 02:36 PM Nils Adermann

- display age in user profile and make it available on viewtopic
- various tiny bugfixes including [Bug #2351] [Bug #2549] [Bug #2681] [Bug #3015]
- strip first, then change newlines [Bug #2403]
- added support for creating user profiles to the login function (makes use of user_add), triggered by LOGIN_SUCCESS_CREATE_PROFILE constant...

6146 07/04/2006 05:16 PM ludovic_arnaud

Changed: moved the thing that compares the amount of matches to the amount of terms from outside the query (in PHP) to inside of it, thanks to a well-placed HAVING clause

6075 06/16/2006 08:31 PM Nils Adermann

- proper redirect after deleting a report [Bug #2260]
- sql_escape words before fulltext update
- correct language string for "search facilities" in acp_search

6073 06/16/2006 06:54 PM Meik Sievertsen

- removed db cache (might re-appear, but for now we do not see the need for it)
- all changes to styles/subsilver/template are purely cosmetic (no functional changes)
- cosmetics
- bugfixes
- add index to modules table
- use modules ordering code for forums too

6058 06/13/2006 11:06 PM Meik Sievertsen

make sure custom profile fields are created correctly on registration (#2225)

6021 06/07/2006 09:32 PM Meik Sievertsen

ok, sorry for this. :/
- cleaned up table names/constants

5993 05/30/2006 11:46 PM Nils Adermann

- add support for min/max of numerical search backend settings
- change word_text maximum length
- don't update search settings if nothing was changed

5981 05/28/2006 09:06 PM Nils Adermann

- added search by author_id to solve problems with looking up posts of users with a name containing wildcards
- user based flood control (seperate limits for users and guests) [Bug #1357]
- inform the user about ignored words if he receives a "no words specified" message...

5950 05/20/2006 06:50 PM Nils Adermann

- fix a nasty bug in search indexing

5944 05/20/2006 04:20 PM Meik Sievertsen

- actually let the user import smilies/icons paks. ;)
- fix TRUNCATE TABLE syntax (mssql does not understand TRUNCATE alone)

5929 05/18/2006 08:18 PM Meik Sievertsen

- added a few missing log variables
- include acp/common.php language file if displaying logs (LOG_ variables should be stored there only now)
- added check to cron.php
- added database_gc config variable
- recalculate binary trees every once a week ;)

5853 04/27/2006 04:20 PM Nils Adermann

- allow searches for multibyte characters in fulltext_native
- use preg_quote safely

5850 04/26/2006 09:13 PM grahamje

Renaming fulltext_phpbb to fulltext_native for clarity and changing a few variables