[ic] "Fuzzy" searching

Grant emailgrant at gmail.com
Thu Mar 29 12:48:09 EST 2007


> >> > I spoke a little too soon.  op=tq is failing intermittently and
> >> > leaving an error in error.log.  op=aq appears to leave the same error
> >> > each time.  Here it is:
> >> >
> >> > search error: Limit subroutine creation: Bad code: syntax error at
> >> > (tag 'value') line 8, near "] tqsearch term "
> >> >
> >> > If I use op=rm it never fails or produces that error in error.log.
> >> > Could this be because I'm on IC 5.2?  Is there a particular file or
> >> > set of files I should grab from CVS to try and fix this?
> >> >
> >> > - Grant
> >>
> >> Hi Grant,
> >>
> >> Yes, this error was fixed previously, however I'm not sure which files
> >> it involved.  I looked through the archives and could not find the
> >> information.  Sorry I can't be of more help.
> >>
> >> Are you in RPC mode?
> >
> > Thanks Ron.  I am in RPC mode, but I changed it a bit:
> >
> > PreFork                 Yes
> > StartServers            5
> > MaxServers              100
> > MaxRequestsPerChild     100
> > ChildLife               3660
> > HouseKeeping            2
> > PIDcheck                120
> >
> > - Grant
>
> I think the issue only relates to RPC mode, but you may run into other issues in your particular environment.
>
> Here at End Point we have standardized on running in low or high traffic mode with MaxServers 0 and that has worked well for us.  FrozenCPU.com runs on those settings and they use op=aq for the text search.
>
> I do remember this issue being fixed in a later version of IC, and I tested it in RPC mode, so it's just a matter of tracking down which files changed.

I read up on Text::Query::Simple and Text::Query::Advanced and I see
how they work now.  I want my searches to be treated as boolean AND
searches.  I should be able to use op=tq and prepend + characters to
the search words with [perl][/perl].  Is there a better way?

- Grant


More information about the interchange-users mailing list