Skip to main content.
home | support | download

Back to List Archive

Re: [swish-e] Maximum query length?

From: Ericson Smith <esconsult1(at)not-real.gmail.com>
Date: Mon Aug 18 2008 - 19:36:23 GMT
Hi,

I mean a query. For example:

swish-e -f sample.index -w "capital of new york"

So I can make a really long search query and it will not be internally
truncated? They're putting in some rather long ones and getting failures.
This is swish version 2.1 or 2.2 (some time ago).

Regards
- Ericson
CTO
funadvice.com


On Mon, Aug 18, 2008 at 3:31 PM, Bill Moseley <moseley@hank.org> wrote:

> On Mon, Aug 18, 2008 at 03:03:48PM -0400, Ericson Smith wrote:
> > Hi,
> >
> > What's the maximum length of a query string that can be passed to swish?
> > I'm calling it from the command line interface.
>
> Of a word or a query?
>
> $ fgrep MAXWORDLIMIT swish-e/src/*.h
> swish-e/src/config.h:#define MAXWORDLIMIT 40
>
> A word can be 40 bytes long, it seems.
>
> I'm not sure there is a query limit.
>
> > There is an intranet application that we developed some years ago, and it
> > still runs nicely today. However the users are putting in query strings
> that
> > are fairly long and complex, and some of those queries fail
> (syntactically,
> > the queries seem to be correct).
>
> queries fail?  Fail how?  Don't return results?  Or generate some kind
> of error about it being too long?
>
>
> --
> Bill Moseley
> moseley@hank.org
>
> Unsubscribe from or help with the swish-e list:
>   http://swish-e.org/Discussion/
>
> Help with Swish-e:
>   http://swish-e.org/current/docs
>
> _______________________________________________
> Users mailing list
> Users@lists.swish-e.org
> http://lists.swish-e.org/listinfo/users
>


_______________________________________________
Users mailing list
Users@lists.swish-e.org
http://lists.swish-e.org/listinfo/users
Received on Mon Aug 18 15:36:25 2008