Default sort order with identical scores.

2003-08-14 Thread Kevin A. Burton
I want to run a query where all the results would have the identical score of 1.0 (all documents of type X with a date D) The trick is that i need to get the result set BACK sorted by the date. The Lucene filter mechanism is optimized to use the index but the only problem is that I want to

Re: AND instead OR for the search

2003-08-14 Thread hui
I tried this before with 1.3rc1. The query parser still uses OR rather than AND as default even after I set the operator to AND. I found this issue had been reported before but no answer for it. http://nagoya.apache.org/eyebrowse/[EMAIL PROTECTED] he.orgmsgId=710724 Any idea to solve the issue?

Re: AND instead OR for the search

2003-08-14 Thread Jill_Pelavin
so, I pasted in the code given in an earlier email: QueryParser qp = new QueryParser(content, analyzer); qp.setOperator(QueryParser.DEFAULT_OPERATOR_AND); query = qp.parse(queryString); it compiles, but it can't find anything. when I comment that out and put in the vanilla call to parse, then

lucene scoring algorithm

2003-08-14 Thread cord . plasse
Hi, I'm trying to understand the scoring algorithm of lucene. So far as I understand, it is an implementation of a vector space model with the cosinus similarity. This model is modified to allow the boost of certain terms. Is this right or did miss something? Cord

Re: AND instead OR for the search

2003-08-14 Thread Erik Hatcher
QueryParser, at least in Lucene's CVS, supports an attribute to toggle this capability. QueryParser.setOperator(QueryParser.DEFAULT_OPERATOR_AND) On Monday, August 4, 2003, at 06:19 PM, Sebastien X wrote: Hi everybody, When I make a search, for example : Jakarta lucene The search engine

Using Reader to index Stored value.

2003-08-14 Thread Victor Hadianto
Hi All, Why can't we use Reader to index stored value in Lucene. I found it strange. And also in the code I saw that the String value is converted to a StringReader anyway. Any reason why? Regards, -- Victor Hadianto NUIX Pty Ltd Level 8, 143 York Street, Sydney 2000 Phone: (02) 9283

Re: parallel index building searching multiple indexes

2003-08-14 Thread Peter Becker
Kevin A. Burton wrote: Killeen, Tom wrote: I am attempting to create approx 10 different Lucene indexes. I'm trying to create them at the same time by running multiple processes and each index is written to a new directory. Once I create more than one process - the performance is very, very

better search results from 1.2 than 1.3

2003-08-14 Thread hui
Hi, I just upgrade Lucene 1.2 to 1.3 on the same index built original from Lucene 1.2 and then latter from Lucene 1.3. I also changed the default operator to AND. It seems work fine but actually the search results from Lucene 1.3 are not as good as the results from 1.2 (same index and same

Re: AND instead OR for the search

2003-08-14 Thread hui
Hi, Found the problem for this. I need to switch to JDK1.3.1 or above (jdk1.4) to make Lucene 1.3 works. It just does not work with jdk 1.3.0 Regards, Hui - Original Message - From: hui [EMAIL PROTECTED] To: Lucene Users List [EMAIL PROTECTED] Sent: Tuesday, August 05, 2003 3:14 PM

How do you pronounce 'Lucene'?

2003-08-14 Thread Danny Sofer
...and where does the name come from? we've already developed three way to say 'lucene' and we can't agree on which one we like best. somebody please help! many thanks, danny. === danny sofer t. 020 7378 6655 m. 0795 722 1632 www.kitsite.com - content

Indexing documents with multiple values for 1 field

2003-08-14 Thread Dan Quaroni
I saw a post that sort of touched on my question, I think, but it didn't seem quite the same... What's the best way to index a document with multiple values for the same field? I'm trying to optimize search time and accuracy. We have a database of companies that we want to be able to search on,

Re: Luke v 0.2 - Lucene Index Browser

2003-08-14 Thread Erik Hatcher
On Monday, August 11, 2003, at 11:12 AM, Günter Kukies wrote: Hi, nice Tool. Here some points for further developments: show the contents of a Reader-valued Field But Reader-valued fields are not stored in the index (Field.Text(name, Reader), that is). The only thing it could show is the

Re: parallel index building searching multiple indexes

2003-08-14 Thread Otis Gospodnetic
You didn't provide details about your setup, but my first guess is that all your processes are writing the indices on the same disk, and that disk is your bottleneck. Otis --- Killeen, Tom [EMAIL PROTECTED] wrote: I am attempting to create approx 10 different Lucene indexes. I'm trying to

parallel index building searching multiple indexes

2003-08-14 Thread Killeen, Tom
I am attempting to create approx 10 different Lucene indexes. I'm trying to create them at the same time by running multiple processes and each index is written to a new directory. Once I create more than one process - the performance is very, very slow. Any sample code out there showing an

Re: Luke v 0.2 - Lucene Index Browser

2003-08-14 Thread Julien Nioche
Hello, Thanks to Andrzej for this new version! Luke is really useful. open the original Dokuments with the platform dependant mimetype viewer ??? My suggestions by order of importance would be : - History of the 5 last indexes used : under the File Menu item ? - Remove the empty field (see

query parser operator precedence and strange result

2003-08-14 Thread Morus Walter
Hi, im currently trying to understand how the standard query parser handles operator precedence in a query like a OR b AND c OR d This is output by the toString method as a +b +c d so AND seems to have higher precedence than OR Now if I try to check this and look at a OR ( b AND c ) OR d I see a

Lucene as a high-performance RDF database.

2003-08-14 Thread Kevin A. Burton
I have been giving some thought to using Lucene as an RDF database. I'm specifically thinking about the RDF model and not the RDF syntax. Essentially this would just comprise triples encoded in a document as fields. So for example we would have subject predicate and object relationships as

Re: Max Field size.

2003-08-14 Thread Victor Hadianto
http://jakarta.apache.org/lucene/docs/api/org/apache/lucene/index/IndexWrit er.ht ml#maxFieldLength Doh' Otis, a possible FAQ entry? +1 Thanks Kelvin :) Victor On Wed, 13 Aug 2003 18:07:14 +1000, Victor Hadianto said: Hi All, Is there a maximum field size in Lucene? I found that by

TermVector again (Re: Luke v 0.2 - Lucene Index Browser)

2003-08-14 Thread Andrzej Bialecki
Andrzej Bialecki wrote: Julien Nioche wrote: [- and almost impossible : recompose the unstored fields of a document] It's not impossible, just time-consuming - all information (except the parts removed by analyzer) is already there. This functionality has a high cool-ness factor, which

Re: parallel index building searching multiple indexes

2003-08-14 Thread Peter Becker
Hi Tom, Killeen, Tom wrote: I am attempting to create approx 10 different Lucene indexes. I'm trying to create them at the same time by running multiple processes and each index is written to a new directory. Once I create more than one process - the performance is very, very slow. As Otis

Re: AND instead OR for the search

2003-08-14 Thread Erik Hatcher
You should re-index using 1.3 when you upgrade the library to 1.3. I don't know the differences specifically (without doing some CVS diffs) but there were some changes that affect the index format. Erik On Tuesday, August 5, 2003, at 11:48 AM, hui wrote: Thank you, Sebastien. It works now.

Re: Checkpointable Index

2003-08-14 Thread Erik Hatcher
As long as you finish any index operations when you checkpoint it, there should be any problems. A Lucene index is just regular ol' filesystem files just like everything else, so there is no problem storing it off and using it later. Erik On Thursday, August 7, 2003, at 12:56 PM, Rob Outar

Re: Indexing documents with multiple values for 1 field

2003-08-14 Thread Victor Hadianto
C) Put all of the altername names together into the name field (i.e. BMG Bertelsmann Music Group). Is there anything to delimit the different names with so that they would be treated as separate entities? This is what I would do. If you are not going to have large value in this field, and

Max Field size.

2003-08-14 Thread Victor Hadianto
Hi All, Is there a maximum field size in Lucene? I found that by having a really big String as a field in a document, I couldn't search the tokens that exist in the end of the document. I'm stumped, I've never read anywhere in the documentation that there is such limit in Field. Am I the only

Re: Max Field size.

2003-08-14 Thread Kelvin Tan
Check out http://jakarta.apache.org/lucene/docs/api/org/apache/lucene/index/IndexWriter.ht ml#maxFieldLength Otis, a possible FAQ entry? On Wed, 13 Aug 2003 18:07:14 +1000, Victor Hadianto said: Hi All, Is there a maximum field size in Lucene? I found that by having a really big String as a

Hiring lucene developer.

2003-08-14 Thread Kevin A. Burton
Hey. I am hoping no one considers this spam since this isn't coming from a recruiter but a developer. :) My company is looking to hire someone with advanced Lucene (and full-text search experience) for an Architect position. I can provide more details through private email. If you are

Re: How do you pronounce 'Lucene'?

2003-08-14 Thread Doug Cutting
Loo-seen. Danny Sofer wrote: ...and where does the name come from? It's my wife's middle name, and her maternal grandmother's first name. Doug - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL

Re: Luke v 0.2 - Lucene Index Browser

2003-08-14 Thread Günter Kukies
Hi, nice Tool. Here some points for further developments: show the contents of a Reader-valued Field open the original Dokuments with the platform dependant mimetype viewer regards, Günter - Original Message - From: Andrzej Bialecki [EMAIL PROTECTED] To: Lucene Users List [EMAIL

Luke v 0.2 - Lucene Index Browser

2003-08-14 Thread Andrzej Bialecki
Dear Lucene Users, I'm glad to announce that a new version of Luke is available for download, and as a Java WebStart application. Luke is a diagnostic tool for Lucene (http://jakarta.apache.org/lucene) indexes. It enables you to browse documents in existing indexes, perform queries, navigate