Prioiritze new documents

2007-12-29 Thread Dominik Bruhn
lucene to sort by this field, so I want to avoid this and instead use a less sharp priority based ordering. Can anybody give me a hint? Thanks -- Dominik Bruhn mailto: [EMAIL PROTECTED] signature.asc Description: Digital signature

Simple Filter-Question

2007-12-29 Thread Dominik Bruhn
I dont know which filter to use and how. I saw a example of a RangeFilter which seems quite simple but a range is not enough! I dont need to check against a range but against a list of allowed ids. Can anybody help me an give me a hint how I can accomplish this? Thanks -- Dominik Bruhn mailto

Re: Prioiritze new documents

2007-12-30 Thread Dominik Bruhn
) for each document before writing it to the index it doesnt change anything. Even worse if I look at the index using Luke (Version 0.7.1) each document got a boost of 1 not of the value supplied. Who can help me? Thanks -- Dominik Bruhn mailto: [EMAIL PROTECTED] signature.asc Description

Re: Prioiritze new documents

2007-12-30 Thread Dominik Bruhn
present as when this document was indexed. I already know this, but ALL documents got a bost of 1. The values should a least differ some how, shouldnt they? Thanks! -- Dominik Bruhn mailto: [EMAIL PROTECTED] signature.asc Description: Digital signature

Re: Prioiritze new documents

2007-12-30 Thread Dominik Bruhn
tored. Could you open an > issue for this? As I dont understand the bug or the problem you are pointing at I dont think I can ope a bugreport. Regards -- Dominik Bruhn mailto: [EMAIL PROTECTED] signature.asc Description: Digital signature

Lucene as Search in a BuletinBoard

2006-06-10 Thread Dominik Bruhn
Hy, Im writing a kind of bulletin-board-software in java (servlet+velocity as template framework, mysql5 as backend). As the whole database is in INNODB and this doesn't support Fulltext-Indexes I looked for alternatives and liked the concept of Lucene. But I got serveral questions: 1. Everybod

Limiting Result-Count

2006-06-29 Thread Dominik Bruhn
Hy, how can I limit the result-count of a query in order to save time? I searched the web but didn't find a solution. Thanks Dominik - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Sorting & SQL-Database

2006-06-30 Thread Dominik Bruhn
by relevance. But the result of the SQL-Query is sorted by the id which destroys the relevance-sorting. Does anybody know a work-arround? Thanks -- Dominik Bruhn mailto: [EMAIL PROTECTED] http://www.dbruhn.de - To unsubscribe

Searching for similiar texts

2006-07-06 Thread Dominik Bruhn
Hy, I index articles using two fields, one for the title and one for the text. Now I want to display 5 similiar Articles for every Article during viewing. How can I manage this? Any premade solutions? Thanks -- Dominik Bruhn mailto: [EMAIL PROTECTED] http://www.dbruhn.de

addIndexes getting slower and slower plus eating up Mem

2006-07-07 Thread Dominik Bruhn
rst 500 Entries get added in about 2 seconds. But for the 1167*500 to (1167+1)*500 Entries it takes more than 10 Minutes. Also the RAM-Usage is increasing dramatically. Is this a normal behaviour, or is it a mistake in my code or is it a bug in Lucene? I remeber someone here on the list t

Re: addIndexes getting slower and slower plus eating up Mem

2006-07-07 Thread Dominik Bruhn
read the trick here and so I did it. I'll try without it to see if its a difference! Thanks -- Dominik Bruhn mailto: [EMAIL PROTECTED] http://www.dbruhn.de - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional co

Reuse of IndexReader

2006-07-12 Thread Dominik Bruhn
can I avoid this? Thanks -- Dominik Bruhn mailto: [EMAIL PROTECTED] http://www.dbruhn.de - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: Reuse of IndexReader

2006-07-12 Thread Dominik Bruhn
Hy, thanks for your answers. Uppon creation of the Reader, does Lucene copy the whole Index into RAM? Or is this cache filled while searching? How can I find out how long it takes to create the IndexReader? Just time to Create-Call? Thanks -- Dominik Bruhn mailto: [EMAIL PROTECTED] http