Can we see the code you change when you get this error?
The easiest thing to do is to increase the memory given the JVM
with -Xmx.
How big are the documents? Are you saying you're returning 100,000
docs at once? If so, the -Xmx should be all you need.
Best
Erick
On Sat, Sep 24, 2011 at 11:51 PM
Respected,
Hello, I am using lucene with my java application. I am having one
confusion. I want to paginate my search and want 20-30 results and total
results are 10. So When i query in application, it gives me heap space
error. So can we fire lucene query so we can only get 20-30 results fro
On 5/7/07, Doron Cohen <[EMAIL PROTECTED]> wrote:
With a query parser set to allowLeadingWildcard, this should do:
( +item -price:* ) ( +item +price:[0100 TO 0150] )
or, to avoid too-many-cluases risk:
( +item -price:[MIN TO MAX]) ( +item +price:[0100 TO 0150] )
where MIN and MAX cover (at least)
> Is there a way to require a portion of a query only if there are values
for
> > > that field in the document?
> > > e.g. If I know that I only want to match movies made between 1973 and
> > > 1975,
> > > I would like to be able to say in my query that if the document has a
> > > year,
> > > it mu
On 5/6/07, Erick Erickson <[EMAIL PROTECTED]> wrote:
On 5/5/07, Daniel Einspanjer <[EMAIL PROTECTED]> wrote:
>
> The query syntax reference page talks about the NOT and the - operators,
> but
> it wasn't clear to me what exactly the difference is between
them. Could
> someone tell me briefly wh
See below...
On 5/5/07, Daniel Einspanjer <[EMAIL PROTECTED]> wrote:
The query syntax reference page talks about the NOT and the - operators,
but
it wasn't clear to me what exactly the difference is between them. Could
someone tell me briefly what that difference might be or point me at some
f
The query syntax reference page talks about the NOT and the - operators, but
it wasn't clear to me what exactly the difference is between them. Could
someone tell me briefly what that difference might be or point me at some
further docs that describe it?
Is there a way to require a portion of a