I also have problems regarding my application,
what would be the ideal memory allocation for lucene
considering my application will serve at least 20 transactions per second?
tia
--buics
On Fri, 3 Sep 2004 15:20:45 +0200, [EMAIL PROTECTED]
<[EMAIL PROTECTED]> wrote:
> Terence,
>
> still had no
Wermus Fernando wrote:
Luceners,
My app is creating, updating and deleting from the index and searching
too. I need some information about sorting by a field. Does any one
could send me a link related to sorting?
http://jakarta.apache.org/lucene/docs/api/org/apache/lucene/search/Sort.html
Thank
Luceners,
My app is creating, updating and deleting from the index and searching
too. I need some information about sorting by a field. Does any one
could send me a link related to sorting?
Thanks in advance.
Danny,
On Friday 03 September 2004 20:53, [EMAIL PROTECTED] wrote:
> I'm trying to build Lucene with ant (in XP) from the prompt
> I got the ant-optional.jar from
> http://archive.apache.org/dist/ant/binaries/ because I
> couldn't find it anywhere else. I'm running the newest
> version of ant and
I'm trying to build Lucene with ant (in XP) from the prompt
I got the ant-optional.jar from
http://archive.apache.org/dist/ant/binaries/ because I
couldn't find it anywhere else. I'm running the newest
version of ant and when I go into the lucene base directory
and type 'ant' it finds the bu
I just attached a patch which:
1. prevents multiple close() of an IndexWriter
2. prevents an NPE if the writeLock was null.
We have been noticing this from time to time and I haven't been able to
come up with a hard test case. This is just a bit of defensive
programming to prevent it from happen
The "Keyword"-ness of a field is only at indexing time, and not
something known about at query time.
You need to use a different analyzer for that field. Check out posts
on KeywordAnalyzer and PerFieldAnalyzerWrapper - this combination is
the secret :)
Erik
On Sep 3, 2004, at 9:55 AM
Trying to search by two fields I got nothing.
The fields where created like:
String provider =
doc.add(Field.Keyword("provider", provider));
...
InputStreamReader input = new InputStreamReader( new ByteArrayInputStream(
contents ) );
document.add(Field.Text("contents", input ));
Searching
Terence,
still had not not time to prepare a test case, but... I worked around it:
The idea is to replace the score with timestamp on populating hits (in
case You are not interesting too much in real score), where the field_sort
is in "MMddHHmm" etc. format.
Works fine, at least no outOfMem