How to fire a query ?

2006-10-08 Thread Bhavin Pandya
Hi guys, How to fire "digital camera" when someone fire "digital cam" .. ? Do i need to make manual list for such items and look up at search time or theree is any better way to do this... -Bhavin pandya

Re: TermQuery and PhraseQuery..problem with word with space

2006-10-08 Thread Erick Erickson
How are you breaking up your query? That is, what analyzer are you using for query parsing? Or are you building your own query programmatically? Also, what about capitalization? Some of the analyzers automatically lower-case the terms, either at index time or query time (or both). If there's a mi

Re: lucene link database

2006-10-08 Thread Erick Erickson
A quick word of caution about doc IDs. Lucene assigns a document id at index time, but that ID is *not* guaranteed to remain the same for a given document. For instance... you index docs A, B, and C. They get Lucene IDs 1, 2, 3. Then you remove doc B and optimize the index. As I understand it, doc

Re: lucene link database

2006-10-08 Thread Chris Lu
Like Erick said, one Lucene Document usually doens't equal to one table entry. You need to flatten the database object into Lucene Document. You can write your code in Hibernate and use Compass to store data into Lucene. If you code is already finished, or you want a scalable solution, DBSight can

TermQuery and PhraseQuery..problem with word with space

2006-10-08 Thread Ismail Siddiqui
Hi All I am trying to index a field which has more than one word with space e.g. "My Word" i am indexng it UN_TOKENIZED .. but when i use TermQuery to query "My Word" its not yielding any result.. if I index it TOKENIZED and use phrase query.. then use phrase query then it yields result on all 3

Re: lucene link database

2006-10-08 Thread Cam Bazz
Dear Erick; Thank you for your detailed insight. I have been trying to code a graph object database for sometime. I have prototyped on relational as well as object oriented databases, including opensource and commercial implementations. (so far, I have tried hibernate, objectivity/db, db4o) whi

Re: lucene link database

2006-10-08 Thread Erick Erickson
Aproach it in whatever way you want as long as it solves your problem . My first question is why use lucene? Would a database suit your needs better? Of course, I can't say. Lucene shines at full-text searching, so it's a closer call if you aren't searching on parts of text. By that I mean that i

Re: QueryParser syntax French Operator

2006-10-08 Thread karl wettin
On 10/8/06, Otis Gospodnetic <[EMAIL PROTECTED]> wrote: Hi Patrick, If I were trying to do this, I'd modify QueryParser.jj to construct the grammar for boolean operators based on something like Locale (or LANG env. variable?). I'd try adding code a la: en_AND = AND en_OR = OR en_NOT = NOT fr_

lucene link database

2006-10-08 Thread Cam Bazz
Hello, I would like to make a link database using lucene. Similar to one that nutch uses. I have read the basic documentation and understood how document indexing, search, and scoring works. But what I like is different documents having different kind of links (semantic links) to each other.

Lucene searching algorithm

2006-10-08 Thread Michael Chan
Hi, Does anyone know where I can find descriptions of Lucene's searching algorithm, besides the lecture at University of Pisa 2004? Has it been published? I'm trying to find a reference to the algorithm. Thanks, Michael - To un

Re: FieldSelectorResult instance descriptions?

2006-10-08 Thread Nicolas Lalevée
Le Dimanche 08 Octobre 2006 09:36, Chris Hostetter a écrit : > there aren't any javadocs for the static instances of FieldSelectorResult, > and the javadocs for FieldSelector.accept suggest that it returns a > boolean ... can someone fill in the blanks about what the various > constants are suppose

Re: Lucene Jdbc Directory

2006-10-08 Thread Chris Lu
Compass is free and good when you use hibernate to store data into database and create Lucene index. What you found is a Jdbc based implementation of Lucene Directory class, which is not specifically for Compass. Storing lucene's index content into database doesn't give you fast performance compa

FieldSelectorResult instance descriptions?

2006-10-08 Thread Chris Hostetter
there aren't any javadocs for the static instances of FieldSelectorResult, and the javadocs for FieldSelector.accept suggest that it returns a boolean ... can someone fill in the blanks about what the various constants are suppose to mean? LOAD seems obvious, NO_LOAD seems relatively clear t