RE: DEFAULT_OPERATOR_AND

2005-08-17 Thread Karthik N S
Hi Luceners.. Apologies... Does this mean MultiFieldQueryParser will always have to use 'DEFAULT_OPERATOR_OR' instead of DEFAULT_OPERATOR_AND operations. Is there any alternative in handling this processs ( other then API 'replaceAll(" ", " AND ")' substution) Please enlighten me

Re: [Lucene 1.2] Boolean OR on all query terms

2005-08-17 Thread Erik Hatcher
On Aug 17, 2005, at 1:50 PM, Karl Koch wrote: Hello experts, I have the following code: Query query = QueryParser.parse(queryString, searchFields[0], analyser); Hits hits = searcher.search(query); and the following code for search across multiple fields: Query query = MultiFieldQueryP

Re: DEFAULT_OPERATOR_AND

2005-08-17 Thread Erik Hatcher
On Aug 17, 2005, at 2:45 AM, Karthik N S wrote: Hi Lucener's Apologies.. I have seen forms using 'DEFAULT_OPERATOR_AND' with something like below > QueryParser parser = new QueryParser( "terms", analyzer); > parser.setOperator(QueryParser.DEFAULT_OPERATOR_AND); > query = par

Re: to filter or not to filter

2005-08-17 Thread Erik Hatcher
On Aug 17, 2005, at 3:29 PM, Dan Funk wrote: Currently I'm working with a single index where content is indexed by it's original printed page. I have to show the total number of matching documents, so I end up running through all the hits and taking an order of magnitude hit on performance a

Re: Books about Lucene?

2005-08-17 Thread Erik Hatcher
On Aug 17, 2005, at 2:49 PM, Karl Koch wrote: Are there any other books (despite "Lucene in Action") perhaps written in a different perspective (e.g. different applications or problem areas)? To echo what Otis said - I don't know of any myself. I'd be very interested to hear yours, and other

Re: OutOfMemoryError on addIndexes()

2005-08-17 Thread Paul Elschot
On Wednesday 17 August 2005 22:49, Paul Elschot wrote: > > the index could potentially be huge. > > > > So if this is indeed the case, it is a potential scalability > > bottleneck in lucene index size. > > Splitting the date field into century, year in century, month, day, hour, > seconds, and >

Re: OutOfMemoryError on addIndexes()

2005-08-17 Thread Paul Elschot
On Wednesday 17 August 2005 22:36, Tony Schwartz wrote: > Has anyone done any work on getting these types of terms or all terms for > that matter > into a collection that spilled onto the disk if necessary to avoid this > problem? I'm > just wondering if anyone has had any luck without crippling

Re: OutOfMemoryError on addIndexes()

2005-08-17 Thread Tony Schwartz
Has anyone done any work on getting these types of terms or all terms for that matter into a collection that spilled onto the disk if necessary to avoid this problem? I'm just wondering if anyone has had any luck without crippling the search speed. This is definitely a problem that has burned

Re: Books about Lucene?

2005-08-17 Thread Otis Gospodnetic
I don't know of any. A search for "lucene" on Amazon.com will find a few other books, but as far as I know, those books cover Lucene only briefly, in passing. Otis --- Karl Koch <[EMAIL PROTECTED]> wrote: > Are there any other books (despite "Lucene in Action") perhaps > written in a > differen

to filter or not to filter

2005-08-17 Thread Dan Funk
Currently I'm working with a single index where content is indexed by it's original printed page. I have to show the total number of matching documents, so I end up running through all the hits and taking an order of magnitude hit on performance as I calculate the number of unique documents. I

Books about Lucene?

2005-08-17 Thread Karl Koch
Are there any other books (despite "Lucene in Action") perhaps written in a different perspective (e.g. different applications or problem areas)? Karl -- 5 GB Mailbox, 50 FreeSMS http://www.gmx.net/de/go/promail +++ GMX - die erste Adresse für Mail, Message, More +++ ---

Applied Lucene: Search functionality on PDAs

2005-08-17 Thread Karl Koch
Hello all, I am developing code for Lucene 1.2 on a Sharp Zaurus using Java 1.1/1.2. (Unfortunately I was not able to run version 1.3 on this setting.) Does somebody know projects (eventually Open Source) also concerned with running Lucene on platforms that only allow small footprint applications.

saving additional data in the index .....????

2005-08-17 Thread Patricio Galeas
Hi All, I have indexed a document collection using the option “WITH_POSITIONS”: doc.add(new Field("contents", new FileReader(f), Field.TermVector.WITH_POSITIONS)); ...to get the positions in which each of the terms is found: wordPositionsVector = termPositionVector.getTermPositions(wordIndex) ;

[Lucene 1.2] Change the Scoring?

2005-08-17 Thread Karl Koch
Hello Lucene experts, I would like to insert my own scoring algorithm in Lucene 1.2 (I need to use this old Lucene version due to hardware limitations (PDA and Java 1.2)). Has somebody done things like that (eventually in the past) and can suggest approaches and perhaps a code example? Workarounds

[Lucene 1.2] Boolean OR on all query terms

2005-08-17 Thread Karl Koch
Hello experts, I have the following code: Query query = QueryParser.parse(queryString, searchFields[0], analyser); Hits hits = searcher.search(query); and the following code for search across multiple fields: Query query = MultiFieldQueryParser.parse(queryString, searchFields, analyser); hits =

[Lucene 1.2] Boolean OR on all query terms

2005-08-17 Thread Karl Koch
Hello experts, I have the following code: Query query = QueryParser.parse(queryString, searchFields[0], analyser); Hits hits = searcher.search(query); and the following code for search across multiple fields: Query query = MultiFieldQueryParser.parse(queryString, searchFields, analyser); hits =

DEFAULT_OPERATOR_AND

2005-08-17 Thread Karthik N S
  Hi  Lucener's Apologies.. I have seen forms using  'DEFAULT_OPERATOR_AND'  with  something like below > QueryParser parser = new QueryParser( "terms", analyzer);  > parser.setOperator(QueryParser.DEFAULT_OPERATOR_AND);  > query = parser.parse(TextParameters); How to use the DEFA