Re: Search with

2005-10-12 Thread Christian Huegel
gmail.com> writes: > > Hi Christian, > > > > It seems to break on the substring(). Please try adding the bounds > checking code. The resulting excerpt might be wrong, but hopefully it > will not error. Let me know what happens. I'll do a more thorough > analysis tomorrow. > > solprovider

Re: Search with "index out of range"

2005-10-12 Thread solprovider
On 10/12/05, Olivier Lustenberger <[EMAIL PROTECTED]> wrote: > Le mardi 11 octobre 2005 à 16:17 -0400, [EMAIL PROTECTED] a écrit : > > It seems to break on the substring(). Please try adding the bounds > > checking code. The resulting excerpt might be wrong, but hopefully it > > will not error.

Re: Search with "index out of range"

2005-10-12 Thread Olivier Lustenberger
Le mardi 11 octobre 2005 à 16:17 -0400, [EMAIL PROTECTED] a écrit : > It seems to break on the substring(). Please try adding the bounds > checking code. The resulting excerpt might be wrong, but hopefully it > will not error. Let me know what happens. I'll do a more thorough > analysis tomorro

Re: Search with "index out of range"

2005-10-11 Thread solprovider
Hi Christian, I think the problem is in this code. All the comments and the bounds checking code are new. The file is {pub}/lenya/content/search/search-and-results.xsp //first = indexOf(earliest search term found) or -1 if not found. //excerptOffset = search parameter, default 100. //slfield =

Re: Search with "index out of range"

2005-10-11 Thread Christian Huegel
gmail.com> writes: > Does this happen with the latest version of search-and-results.xsp > from 2005-09-25? Does it ever happen during the first search? (If > not, there is probably a variable that is not reset properly.) > > solprovider > Hi solprovider, yes, the file was last modified on

Re: Search with "index out of range"

2005-10-11 Thread solprovider
On 10/11/05, Olivier Lustenberger <[EMAIL PROTECTED]> wrote: > Le mardi 11 octobre 2005 à 11:14 +, Christian Huegel a écrit : > > as initiating the search function as described here: > > http://www.solprovider.com/lenya/searchdownload i get some errors when > > searching > > for particular wor

Re: Search with "index out of range"

2005-10-11 Thread Olivier Lustenberger
Le mardi 11 octobre 2005 à 11:14 +, Christian Huegel a écrit : > Hi list, > > as initiating the search function as described here: > http://www.solprovider.com/lenya/searchdownload i get some errors when > searching > for particular words in an publication. For example: the first 3 random wor

Search with "index out of range"

2005-10-11 Thread Christian Huegel
Hi list, as initiating the search function as described here: http://www.solprovider.com/lenya/searchdownload i get some errors when searching for particular words in an publication. For example: the first 3 random words ar found and dispalyed correctly but then, on the next search criteria i get