You are viewing a plain text version of this content. The canonical link for it is here.
Posted to docs-dev@perl.apache.org by Stas Bekman <st...@stason.org> on 2002/06/29 22:09:06 UTC

Re: search problems

Bill Moseley wrote:
> At 03:57 AM 06/30/02 +0800, Stas Bekman wrote:
> 
>>Hmm, I don't remember if this is a recent behavior or was like that all 
>>the time, if you seach for 'mod_perl' and select 'Getting Help' only you 
>>get hits from /docs/2.0 too. e.g. try:
>>
>>http://perl.apache.org/release/search/swish.cgi?query=mod_perl&sbm=help
> 
> 
> Yes, because it's just searching the path for "help" -- I'll see what I can
> do to fix that.  I'll have to parse the path into unique chunks.  The other
> option would be to map paths to some unique id.

what if you simply do: /^$sbm/? since all our sub-sections start from / 
(excluding /)



__________________________________________________________________
Stas Bekman            JAm_pH ------> Just Another mod_perl Hacker
http://stason.org/     mod_perl Guide ---> http://perl.apache.org
mailto:stas@stason.org http://use.perl.org http://apacheweek.com
http://modperlbook.org http://apache.org   http://ticketmaster.com


---------------------------------------------------------------------
To unsubscribe, e-mail: docs-dev-unsubscribe@perl.apache.org
For additional commands, e-mail: docs-dev-help@perl.apache.org


Re: search problems

Posted by Bill Moseley <mo...@hank.org>.
At 04:09 AM 06/30/02 +0800, Stas Bekman wrote:
>> Yes, because it's just searching the path for "help" -- I'll see what I can
>> do to fix that.  I'll have to parse the path into unique chunks.  The other
>> option would be to map paths to some unique id.
>
>what if you simply do: /^$sbm/? since all our sub-sections start from / 
>(excluding /)

You mean filter the results returned from swish?  I'd rather just ask swish
for to limit the searches.  Swish can't limit by regular expression (it's
just searching words, not strings), so we just need to find a way to define
the sections when indexing.  Should not be a problem.


-- 
Bill Moseley
mailto:moseley@hank.org

---------------------------------------------------------------------
To unsubscribe, e-mail: docs-dev-unsubscribe@perl.apache.org
For additional commands, e-mail: docs-dev-help@perl.apache.org