at happens with range queries
> by default. I think they end up as a MultiTermQuery, The javadocs
> for that have a note about rewrite and constant scoring.
>
> Finally, what version of lucene are you using?
>
>
> --
> Ian.
>
>
> On Wed, May 30, 2012 at 6:55 AM, S Eslamian
Hi all.
I'm searching numericRangeQuery in my indexes. (i.e. field : [10 TO 20])
In some ranges when I rewrite the query, I receive something wrong in the
answer. something like this : ConstantSocre(field : `
When I expand the range, then everything is OK. I debug the code and this
wrong answer
I got it. Thank you.
On Tue, May 15, 2012 at 2:31 PM, Uwe Schindler wrote:
> > Hello
> > I have a question about this new feature in lucene 3.6 :
> > " The QueryParser now interprets * as an open end for range queries.
> > Literal asterisks may be represented by quoting or escaping (i.e. \* or
>
Hello
I have a question about this new feature in lucene 3.6 :
" The QueryParser now interprets * as an open end for range queries.
Literal asterisks may be represented by quoting or escaping (i.e. \* or
"*") Custom QueryParser subclasses overriding getRangeQuery() will be
passed null for any open
So if my program interrupts, the lock files in the indexes will be released
in the next run. hoom?
That's so good. Thank you Mr.McCandless for your help.
On Mon, May 7, 2012 at 5:04 PM, Michael McCandless <
luc...@mikemccandless.com> wrote:
> On Mon, May 7, 2012 at 7:19 AM, S E
ly holds the lock
> anymore (the previous JVM died !). SimpleFSLock gives you a headache in
> that regard.
>
> Can this explain what you observe?
>
> Shai
>
> On Mon, May 7, 2012 at 2:19 PM, S Eslamian wrote:
>
> > hmm... , What is a leftover lock file?
> >
>
's not a leftover lock file ... can you make a quick code
> fragment showing the problem?
>
> Mike McCandless
>
> http://blog.mikemccandless.com
>
> On Mon, May 7, 2012 at 12:27 AM, S Eslamian wrote:
> > Yes, I'm sure. I debug the code, and look at the files i
e
and code goes to the if loop while it shouldn't passes the if clause!
S Eslamian
On Sun, May 6, 2012 at 5:56 PM, Michael McCandless <
luc...@mikemccandless.com> wrote:
> Hmm, not good. Are you sure the index was previously locked?
>
> Can you describe your environment?
Hi all
While I am using IndexWriter.isLock(), this method unlocks the index and
returns false.
Can anyone tell me why?
Hi :)
I don't why, but searching "\\-1234" ignores negative point and search for
1234 !
On Tue, Apr 24, 2012 at 4:24 PM, G.Long wrote:
> Hi :)
>
> Did you try with "\\-1234" ?
>
> Regards
>
> Le 24/04/2012 13:40, S Eslamian a écrit :
>
>
wrote:
> the - is part of the query syntax, you must escape it. See:
>
>
> http://lucene.apache.org/core/old_versioned_docs/versions/3_5_0/queryparsersyntax.html
>
> Best
> Erick
>
> On Tue, Apr 24, 2012 at 5:44 AM, S Eslamian wrote:
> > How can I search a minus di
> Query q = ...
>
> q = indexSearcher.rewrite(q);
>
> ...
>
> simon
>
> On Thu, Sep 15, 2011 at 6:02 AM, S Eslamian wrote:
> > I have an instance of IndexSearcher and then call rewrite method with the
> > query.
> > IndexRear ir = IndexReader.open("director
simon.willna...@googlemail.com> wrote:
> how do you rewrite your query?
>
> simon
>
> On Tue, Sep 13, 2011 at 9:22 AM, S Eslamian wrote:
> > Hi
> > I am using QueryTermExtractor.getTerms for finding the terms of a given
> > query in lucene 3.0.3. In it's document
Hi
I am using QueryTermExtractor.getTerms for finding the terms of a given
query in lucene 3.0.3. In it's document has said that "Utility class used to
extract the terms used in a query, plus any weights. This class will not
find terms for MultiTermQuery, RangeQuery and PrefixQuery classes so the
c
14 matches
Mail list logo