In general this happens if you have two different Lucene versions in your
classpath. Try to find out if there may be another 3.0.1 version somewhere
in your classpath. I have no idea how to configure that in your
webserver's/php.ini config, but it looks like that is the problem.
-
Uwe Schindle
Hi.
I still have problem with it
My code worked well when I run it by command line, ex."php srcLucene.php"
But it didn't work on web browser, still got an error like this.
indexing ... Exception occured: [[o:Exception]:"java.lang.Exc
Sorry, releases are not scheduled.
There is a general feeling that a 3.1 release could happen fairly soon, though.
Currently, there is a push to improve test coverage and fix bugs that shake out
as a result.
As another measure of how close the release is, you can check here to see how
many iss
How about replacing "-" with some arbitrary character sequence with
MappingCharFilter before tokenizer and then restoring that '-' with
PatternReplaceFilter after the tokenizer?
May be you can just eat '-' with charFilter so that Lawton-Browne becomes
LawtonBrowne.
--- On Mon, 10/25/10, Marti
A good suggestion. But I'm using Lucene 3.0.2 and the constructor for a
StandardAnalyzer has Version_30 as its highest value. Do you know when 3.1 is
due?
-Original Message-
From: Steven A Rowe [mailto:sar...@syr.edu]
Sent: 24 Oct 2010 21 31
To: java-user@lucene.apache.org
Subject: RE:
A good suggestion. But I'm using Lucene 3.2 and the constructor for a
StandardAnalyzer has Version_30 as its highest value.
-Original Message-
From: Steven A Rowe [mailto:sar...@syr.edu]
Sent: 24 Oct 2010 21 31
To: java-user@lucene.apache.org
Subject: RE: Use of hyphens in StandardAnalyz
Hi Martin,
StandardTokenizer and -Analyzer have been changed, as of future version 3.1
(the next release) to support the Unicode segmentation rules in UAX#29. My
(untested) guess is that your hyphenated word will be kept as a single token if
you set the version to 3.1 or higher in the construc
Hello
I have a StandardAnalyzer working which retrieves words and frequencies from
a single document using a TermVectorMapper which is populating a HashMap.
But if I use the following text as a field in my document, i.e.
addDoc(w, "lucene Lawton-Browne Lucene");
The word frequencie
Ahaaa, you're right, I used lucene-core-3.0.1.jar and I got an error on it
cause
the IndexWriter Constructor cannot work.
When I try to use the lower version, it works.
Thank alot
On Sun, Oct 24, 2010 at 6:52 AM, Uwe Schindler wrote:
> Are you sure that you use the same Lucene version? If you u