![]() |
|
![]() |
#1 |
Green Mole
Join Date: Nov 2005
Posts: 1
|
Search through an entire word - especially for german textes
Helo Folks,
after installing of the phpdig 1.8.8 I realised, that a search term will match only at the beginning of a word, fe. giving 'ermin' you won't get the results with word 'terminal'. This wasn't what most people using german language expect, where many words are concatenation of other ones. So I made some modifications to the search_function.php file and now the entire word is searched through. The default operator is AND, so you do not need the radio buttons tag <phpdig:form_radio/> in the html template. If you surround a text to search with double quotes, the search mode will switch to 'exact' and phrase search will be performed. That all let you create a simple search field with "GO" button only, keeping all the power functionality, that the phpdig gives to us. Cheers, janek |
![]() |
![]() |
![]() |
|
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
IF phpdig is right on search from a word of a *.php or *.asp | tian | How-to Forum | 3 | 08-07-2005 05:20 AM |
spider entire site | summitmn | Troubleshooting | 1 | 05-03-2004 04:30 PM |
Indexing word doc's OK search through files don't work | dapuse | External Binaries | 3 | 02-05-2004 07:38 AM |
German Umlaute | fipps | Troubleshooting | 2 | 12-04-2003 02:38 PM |
phpdig highlight class only for first search word | manute | Bug Tracker | 6 | 11-26-2003 09:10 AM |