[pmwiki-users] Fast Seach Upgrade

worm webmaster at wormcs.dyndns.org
Fri Aug 18 15:06:54 CDT 2006


hi all,

i try your script i have this warning :


Warning: preg_match() expects parameter 2 to be string, array given in 
/wiki/pmwiki.php on line 575

Warning: Illegal offset type in /wiki/pmwiki.php on line 580

Warning: Cannot modify header information - headers already sent by 
(output started at /wiki/pmwiki.php:575) in /wiki/pmwiki.php on line 870

and i think i have a problem with my skin (dropdown)
i make a specific page for the search i use the tag (:searchbox:)

the result of the search on  my specific page is :

"56 pages trouvées sur 196 pages recherchée(s).

Enter the text you would like to search for above. The results page will 
give you all pages that contain all of the words you enter. To search 
for phrases, enclose the entire phrase in quotation marks.

To limit the search to a single group, enter the group name followed by 
a slash at the beginning of the search string (e.g., "PmWiki/" or 
"Main/"). To list all pages, enter a slash for the search. "
but i don t have the result : you can try to :
http://www.wormcs.dyndns.org/wiki/master/Search/Wiki
use the word linux

thinks for your help


worm

Martin Fick a écrit :
> No problem, I updated the recipe page and uploaded it
> to the pmwiki site:
> 
> http://www.pmwiki.org/pmwiki/uploads/Cookbook/grepsearch.php
> 
> -Martin
> 
> --- worm <webmaster at wormcs.dyndns.org> wrote:
> 
>> Hi
>>
>> i recieved your mail before who you send me your new
>> script but my mail 
>> filtering gate make your mail on spam can you resend
>> me your script  please
>>
>> best regards
>>
>> worm
>> Martin Fick a écrit :
>>> OK, I have upgraded the Fast Search recipe to work
>>> with the latest pmwiki and have found that it
>> still
>>> provides a significant speedup on my older pentium
>>> 200.  A search that would take around 36 seconds
>> now
>>> takes around 6 seconds.
>>>
>>> -Martin
>>>
>>> --- worm <webmaster at wormcs.dyndns.org> wrote:
>>>
>>>> hi all
>>>>
>>>> your grepsearch don t work and i have a time out
>>>> with the original 
>>>> search .....
>>>>
>>>> best regards
>>>>
>>>> worm
>>>>
>>>> Martin Fick a écrit :
>>>>> --- "Patrick R. Michaud" <pmichaud at pobox.com>
>>>> wrote:
>>>>>   
>>>>>> On Wed, Aug 16, 2006 at 04:26:25PM +0200, worm
>>>>>> wrote:
>>>>>>     
>>>>>>> hi all
>>>>>>>
>>>>>>> i don t understand the explication off the :
>>>>>>> "Edit the pagelist.php script and comment out
>>>> the
>>>>>>>       
>>>>>> MakePageList function"
>>>>>>     
>>>>> Yes, the entire function, a patched version of
>>>> that
>>>>> function is supplied in the grepsearch.php
>> script.
>>>>>
>>>>>   
>>>>>> Actually, I would suggest not using the
>>>> FastSearch
>>>>>> recipe, as PmWiki now has a built-in indexing
>>>>>> system which should speed things
>>>>>> up already (see the note at the top of the
>>>> recipe).
>>>>>>     
>>>>> Yes, I don't know if it is worth using any more.
>>>> I am
>>>>> not that intimate with the indexing systems (I
>>>>> understand the pagelist indexing, but I don't
>> know
>>>> how
>>>>> the search term indexing works).
>>>>>
>>>>> But, ...since you ARE asking about it, does this
>>>> mean
>>>>> that you are not satisfied with the current
>> search
>>>>> speeds that you are getting?  If so, then it
>> might
>>>> be
>>>>> worth trying the recipe to see if it still
>>>> improves
>>>>> things and if so, let me know, I will consider
>>>>> updating it to the recent pmwiki code.
>>>>>
>>>>>
>>>>>   
>>>>>> At any rate, I don't know if the FastSearch
>>>> recipe
>>>>>> has been updated to be compatible with the
>> latest
>>>>>> versions of PmWiki.
>>>>>>     
>>>>> It has not been updated in a long time (since
>>>> before
>>>>> the indexing system), but it would not take a
>> lot
>>>> to
>>>>> update it, the comments should indicate where
>> the
>>>>> actual patches to the MakePagelist function are,
>> a
>>>>> more recent function could easily be similarly
>>>>> patched.
>>>>>
>>>>> Again, if you can demonstrate a need for this
>>>> recipe
>>>>> still, I would be willing to help with this. 
>> The
>>>>> hardest part would be in the testing, ... if you
>>>> are
>>>>> willing to help with that...  Also, if you can
>>>>> demonstrate that it no longer provides an
>>>> improvement,
>>>>> I will deprecate it.
>>>>>
>>>>> Good luck,
>>>>>
>>>>> -Martin
>>>>>
>>>>>
>>>>>
>> __________________________________________________
>>>>> Do You Yahoo!?
>>>>> Tired of spam?  Yahoo! Mail has the best spam
>>>> protection around 
>>>>> http://mail.yahoo.com 
>>>>>   
>>>
>>> __________________________________________________
>>> Do You Yahoo!?
>>> Tired of spam?  Yahoo! Mail has the best spam
>> protection around 
>>> http://mail.yahoo.com 
>>
>> _______________________________________________
>> pmwiki-users mailing list
>> pmwiki-users at pmichaud.com
>>
> http://host.pmichaud.com/mailman/listinfo/pmwiki-users
> 
> 
> __________________________________________________
> Do You Yahoo!?
> Tired of spam?  Yahoo! Mail has the best spam protection around 
> http://mail.yahoo.com 





More information about the pmwiki-users mailing list