Hi, Dear exports:
The below case runs ok:
public void test() throws IOException {
IndexSearcher is = null;
TermPositions tp = null;
try {
is = GenericStorage.getInstance().getSearcher();
tp =
Dear Mike:
The index was constructed using Lucene 2.9. After the problem occured, I
switched to recently release Lucene 3.1, leaving the index untouched.
Thanks to your help
2011-04-02
袁武 [GMail]
发件人: Michael McCandless
发送时间: 2011-04-02 00:13:35
收件人: 袁武 [GMail]
抄送: java-user
主题:
Hi,
I was trying to use SpanRegexQuery in Lucene 3.03 to find terms that match
regular expression. The reason I use SpanRegexQuery instead of RegexQuery is
because I want to get all matches of the regular expression (if there are
multiple ones in a document), not just documents containing these m
Dear Erickson:
Thanks to your reply.
But if a,b, c are numeric, how can i run range query? And if can ,how about
the performance?
Thanks in advance.
2011-04-02
袁武 [GMail]
发件人: Erick Erickson
发送时间: 2011-04-02 02:16:55
收件人: java-user
抄送:
主题: Re: How to do Multiple-Cluster Query?
Hi,
Yes, I print the query.toString(), it is ConstantScore.
Which method should I use to change it? And How to modify it to make it sort by
relevance not the constant score(reading file order)? Any example?
-- Original --
From: "Carl Austin";
Date: Sat, Ap
So your test case still hits the exception in 3.1?
If you fully rebuild you index in 3.1, does the exception still occur?
Is there any way I could get access to this index?
Do other terms besides "\1" have the problem?
I just committed a change to the 3.x branch
(https://svn.apache.org/repos/as
Hi,
I search using the ComplexPhraseQueryParser (e.g. "great* sum*"), it becomes
SpanNearQuery so i cannot use multiTermQuery.setRewriteMethod(). Because prefix
query is constant query, it can only sort the document by the order of reading
files.
Which method should I use to change it? And
Hi,
I search using the ComplexPhraseQueryParser (e.g. "great* sum*"), it becomes
SpanNearQuery so i cannot use multiTermQuery.setRewriteMethod(). Because prefix
query is constant query, it can only sort the document by the order of reading
files.
Which method should I use to change it? And