lucene-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
Subject Re: Memory Usage?
Date Tue, 13 Nov 2001 07:28:23 GMT
Since this is changing behavior that people are depending on, what about 
creating a new QueryParser called QueryParserSafe that excludes option.
I don't like the idea of removing functionality with no backward 

Any thoughts.


On Monday, November 12, 2001, at 12:57 PM, Brian Goetz wrote:

>> This was a single query?  How many terms, and of what type are in the 
>> query?
>>> From the trace it looks like there could be over 40,000 terms in the 
>>> query!
>> Is this a prefix or wildcard query?  These can generate *very* large
>> queries...
> I think the fact that prefix / wildcard queries can generate such
> nasty huge queries is a good reason to consider taking the Foo* syntax
> out of the query parser.  I realize that its cool, and there are some
> people who probably rely on it already, but it seems that the prefix
> query is in the category of "professional driver, don't try this at
> home" and therefore should be kept behind the locked cabinet where
> ordinary shoppers won't take it home by accident (to mix some
> metaphors horribly.)
> --
> To unsubscribe, e-mail:   <mailto:lucene-user-
> For additional commands, e-mail: <mailto:lucene-user-

To unsubscribe, e-mail:   <>
For additional commands, e-mail: <>

View raw message