Re: Weird Problem with Lucene

2005-06-22 Thread Chris Hostetter
: I do the following in Luke's Program: I have to confess, i've never acctually gotten arround to using Luke, but if i understand what you're saying, and if Luke is doing what i think it is, then i believe your problem is an Analyzer issue... : b) Enter term field-name: unit and value="DOSE", hit

Re: Indexing emails from Exchange

2005-06-22 Thread Otis Gospodnetic
Peter, see this: http://www.tropo.com/techno/java/lucene/imap.html http://guests.evectors.it/zoe/ Otis --- Peter Lewis <[EMAIL PROTECTED]> wrote: > Hi all > > Has anyone got an example of how to index emails from Microsoft > Exchange using Lucene? > > TIA > > William > > >

Re: Can't find documents with certain terms

2005-06-22 Thread Andrzej Bialecki
Urs Eichmann wrote: My index consists of about 26 different fields. I have a very weird problem: On certain fields, I cannot search - i.e. the search always returns 0 documents. I used Luke's Lucene Index Toolbox, and the behaviour there is weird as well: I do the following in Luke's Program:

Re: Weird Problem with Lucene

2005-06-22 Thread Erik Hatcher
Please send us a (short and sweet) example that demonstrates this issue - preferably using RAMDirectory in a way that is easily runnable by someone else. Thanks, Erik On Jun 22, 2005, at 3:36 PM, JM Tinghir wrote: Hi, Actually I have the same problem. Queries are working on a few fie

Re: Weird Problem with Lucene

2005-06-22 Thread JM Tinghir
Hi, Actually I have the same problem. Queries are working on a few fields but not all of them, although the index is ok (checked it with luke). But I have no idea to solve that... Jean-Marie Tinghir 2005/6/22, Urs Eichmann <[EMAIL PROTECTED]>: > My index consists of about 26 fields. I have a

Can't find documents with certain terms

2005-06-22 Thread Urs Eichmann
My index consists of about 26 different fields. I have a very weird problem: On certain fields, I cannot search - i.e. the search always returns 0 documents. I used Luke's Lucene Index Toolbox, and the behaviour there is weird as well: I do the following in Luke's Program: a) go to the Document

Re: querying multiple fields

2005-06-22 Thread Erik Hatcher
On Jun 22, 2005, at 2:02 PM, George Abraham wrote: Erik, That worked like a charm. It seems to me that reading up on the different analyzers would solve a lot of questions in my mind. It would solve a lot of folks questions! I find the analysis part of Lucene fascinating. The really inter

Re: querying multiple fields

2005-06-22 Thread George Abraham
Erik, That worked like a charm. It seems to me that reading up on the different analyzers would solve a lot of questions in my mind. Unfortunately your book has not arrived yet from Amazon. Aarrgh! Thanks a ton! George > Your analyzer is eating the ImageExistsBit:1 because "1" returns no > tokens

Re: querying multiple fields

2005-06-22 Thread Erik Hatcher
On Jun 22, 2005, at 1:24 PM, George Abraham wrote: Otis, I think MultiFieldQueryParser (if I am not mistaken) uses the same query string to search multiple fields. Let me know if it is otherwise. Erik, Let me see if I can answer those questions. Here are some code snippets, by the way. FOR INDE

Re: Looking for someone to develop Thai Lucene Analyzer

2005-06-22 Thread Ken Krugler
Not sure if this is the appropriate forum to ask this. We are currently looking for an implementation of a Lucene Analyzer for the Thai language. We are looking to pay a developer/consultant for a Thai Analyzer implementation. Note that ICU has support for Thai word breaking, and is available

Re: querying multiple fields

2005-06-22 Thread George Abraham
Otis, I think MultiFieldQueryParser (if I am not mistaken) uses the same query string to search multiple fields. Let me know if it is otherwise. Erik, Let me see if I can answer those questions. Here are some code snippets, by the way. FOR INDEX IndexWriter writer = new IndexWriter(indexDir, new

Weird Problem with Lucene

2005-06-22 Thread Urs Eichmann
My index consists of about 26 fields. I have a very wierd problem: On certain fields, I cannot search - i.e. the search always returns 0 documents. I used Luke's Lucene Index Toolbox, and the behaviour there is weird as well: I do the following in Luke's Program: a) go to the Documents Tab b) E

Indexing emails from Exchange

2005-06-22 Thread Peter Lewis
Hi all Has anyone got an example of how to index emails from Microsoft Exchange using Lucene? TIA William - How much free photo storage do you get? Store your holiday snaps for FREE with Yahoo! Photos. Get Yahoo! Photos

Re: querying multiple fields

2005-06-22 Thread Otis Gospodnetic
George, You can use MultiFieldQueryParser instead of QueryParser. Otis --- George Abraham <[EMAIL PROTECTED]> wrote: > All, > Forgive me for the basic question. When you are querying multiple > fields using QueryParser, what is the exact code? > > I tried QueryParser.parse(queryString, "Searc

Re: Question for Wildcard Search:

2005-06-22 Thread Ken Krugler
Markus Atteneder writes: There is a possibility for searching with the "*" and "?" wildcard at the end and in the middle of a search string, but not at the beginning, is there way to do this? Sure. Simply index reversed words. The reason why QP prohibits wildcards at the beginning is perfor

weight score based on a fields value

2005-06-22 Thread Dan Armbrust
Is there a straightforward way that I could change the scoring algorithm such that it would break ties based on looking at the value of a field? I'm not actually searching for the value in the field, so its not part of the query - I just want documents that have a particular field set to a par

Re: Anomaly in defining search phrase

2005-06-22 Thread Erik Hatcher
On Jun 22, 2005, at 11:35 AM, [EMAIL PROTECTED] wrote: Thanks! Using StopAnalyzer helped solving the problem. Is there any detail documentation of what each of this analyzers do? Here are some pointers: - Lucene's javadocs give a brief description, such as lucene.apache.org/java/docs/ap

Re: querying multiple fields

2005-06-22 Thread Erik Hatcher
On Jun 22, 2005, at 10:49 AM, George Abraham wrote: All, Forgive me for the basic question. When you are querying multiple fields using QueryParser, what is the exact code? I tried QueryParser.parse(queryString, "SearchTerms", analyzer) where queryString was "SearchTerms:visnu temple ImageExis

Re: How lucene and nucth work together?

2005-06-22 Thread Andrzej Bialecki
Giovanni Dima wrote: Andrzej, tanks for the reply. I'm sorry but i've another (similar) question... Lucene and nutch use the same parser and analyzer? No, they don't. I seems to understand that the segments created from the nutch are different from those creating from lucene. I've installed

Re: Anomaly in defining search phrase

2005-06-22 Thread tareque
> > On Jun 21, 2005, at 2:59 PM, [EMAIL PROTECTED] wrote: > >> I found a discrepancy in results for an identical search >> ("processing") >> done with lucene and mysql. Seems like lucene is not returning results >> where the search word is associated with "-"(hyphen) or >> '."(period). For >> examp

querying multiple fields

2005-06-22 Thread George Abraham
All, Forgive me for the basic question. When you are querying multiple fields using QueryParser, what is the exact code? I tried QueryParser.parse(queryString, "SearchTerms", analyzer) where queryString was "SearchTerms:visnu temple ImageExistsBit:1", SearchTerms and ImageExistsBit being the two f

Re:Re:How lucene and nucth work together?

2005-06-22 Thread Giovanni Dima
Andrzej, tanks for the reply. I'm sorry but i've another (similar) question... Lucene and nutch use the same parser and analyzer? I seems to understand that the segments created from the nutch are different from those creating from lucene. I've installed nutch and I've created folders db and seg

Re: Question for Wildcard Search:

2005-06-22 Thread Erik Hatcher
On Jun 22, 2005, at 4:01 AM, Morus Walter wrote: Markus Atteneder writes: There is a possibility for searching with the "*" and "?" wildcard at the end and in the middle of a search string, but not at the beginning, is there way to do this? Sure. Simply index reversed words. The reaso

Re: Question for Wildcard Search:

2005-06-22 Thread Markus Atteneder
> > > Sure. Simply index reversed words. > Since I do not have much experience with lucene can you explain it more exactly for me? THX! -- Weitersagen: GMX DSL-Flatrates mit Tempo-Garantie! Ab 4,99 Euro/Monat: http://www.gmx.net/de/go/dsl ---

Re: results link

2005-06-22 Thread Brian
Never mind, disregard the original request. Erik, dude, do you not sleep? Anyway I figured it out. As for the demo...hehe, you guys were right, I basically started from scratch yesterday. Thanks all. I'm sure I'll have more questions later, but for now, I'm on a roll!! :-) B --- Erik Hatcher

Re: How lucene and nucth work together?

2005-06-22 Thread Andrzej Bialecki
Giovanni Dima wrote: Hi! We're trying to use nutch as web-spider and lucene as indexer and searcher. Nutch and Lucene work good separately, but we do not succeed to link lucene to the index created by nutch. We've modified the file "configuring.jsp" specifying in the "indexLocation" the index

Re: results link

2005-06-22 Thread Erik Hatcher
On Jun 22, 2005, at 8:13 AM, Brian wrote: All, I've been able to create an index across the network. However when I do my search, the link I'm trying to generate show's null. What it actually points to is http://localhost/mywebapp Where should I be looking in order to have my link generated

results link

2005-06-22 Thread Brian
All, I've been able to create an index across the network. However when I do my search, the link I'm trying to generate show's null. What it actually points to is http://localhost/mywebapp Where should I be looking in order to have my link generated correctly. Thanks in advance. Brian _

How lucene and nucth work together?

2005-06-22 Thread Giovanni Dima
Hi! We're trying to use nutch as web-spider and lucene as indexer and searcher. Nutch and Lucene work good separately, but we do not succeed to link lucene to the index created by nutch. We've modified the file "configuring.jsp" specifying in the "indexLocation" the index file created by Nutch,

Re: index phrases

2005-06-22 Thread sergiu gordea
Ciau, Ce mai faci? Cred ca te-am mai intrebat ce lucrezi, dar am uitat. In viitorul apropiat s-ar putea sa lucrez si eu putin in directia text mining si bineinteles ca am sa refolosesc ce e implementat in lucene. S-ar putea ca munca noastra sa aiba ceva puncte comune .. te intereseaza sa ma

Re: Question for Wildcard Search:

2005-06-22 Thread Morus Walter
Markus Atteneder writes: > There is a possibility for searching with the "*" and "?" wildcard at the > end and in the middle of a search string, but not at the beginning, is there > way to do this? > Sure. Simply index reversed words. The reason why QP prohibits wildcards at the beginning is perf

Re: index phrases

2005-06-22 Thread Roxana Angheluta
Dear all, I am using Lucene for indexing documents. I would like to include phrases (of a certain maximum length given as a parameter) in the index. I know this is non-standard for e.g. searching, where a PhraseQuery can be built which makes use of the terms positions. However, I am not

Question for Wildcard Search:

2005-06-22 Thread Markus Atteneder
There is a possibility for searching with the "*" and "?" wildcard at the end and in the middle of a search string, but not at the beginning, is there way to do this? -- Geschenkt: 3 Monate GMX ProMail gratis + 3 Ausgaben stern gratis ++ Jetzt anmelden & testen ++ http://www.gmx.net/de/go/promail