Split Search Word

2005-08-04 Thread Karthik N S
Hi Luceners Apologies. I  have along Search String as given below...   SearchWord =  "\"" + "Dough Cutting" + "\"" +  "  " +  "Otis Gospodnetic"  +  "   " + "\"" + "Erik Hatcher" + "\""  + "  " +    "Authors of " + "\"" + "Lucene In Action" +"\""; And prior to

Anyone using Chandler Lucene / Berkeley DB?

2005-08-04 Thread yahootintin . 11533894
how well does it work? does it provide the ability to search shortly after adding a document? - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Search shortly after adding a doc

2005-08-04 Thread yahootintin . 11533894
i want to use lucene to search shortly (within a second) after adding a document. closing a writer to ensure the new document is written and then opening an index reader seems to be too slow on large indexes. how do other people handle this? (i know this can be solved with a database but i'd

de pluralization

2005-08-04 Thread Mufaddal Khumri
Hello, I am just posting this question out here since this might be a common problem and some of you might have good pointers. Is there algorithms/api built into lucene that would help de pluralize words while indexing and/or while searching the index? Are there analyzers that do this already? T

File Not Found Exception....

2005-08-04 Thread javabuddy
HI All, I am a Lucene user for a month or so.. After some bad beat ups I learnt that only one thread can write into the index location. SO after that everything was smoooth, but not I am getting "File Not Found : (some index file)"..Exception. Once I get this exception the search also st

File Not Found Exception....

2005-08-04 Thread javabuddy
HI All, I am a Lucene user for a month or so.. After some bad beat ups I learnt that only one thread can write into the index location. SO after that everything was smoooth, but not I am getting "File Not Found : (some index file)"..Exception. Once I get this exception the search also st

Re: Compass 0.5 Released

2005-08-04 Thread Shay Banon
Of course, sorry ;-( http://compass.sourceforge.net Mark Benussi wrote: Shay. Do you have a web site that we can visit to discover more about your technology? -Original Message- From: Shay Banon [mailto:[EMAIL PROTECTED] Sent: 04 August 2005 22:34 To: java-user@lucene.apache.org

RE: Compass 0.5 Released

2005-08-04 Thread Mark Benussi
Shay. Do you have a web site that we can visit to discover more about your technology? -Original Message- From: Shay Banon [mailto:[EMAIL PROTECTED] Sent: 04 August 2005 22:34 To: java-user@lucene.apache.org Subject: Compass 0.5 Released We are please to announce the 0.5 major feature r

Compass 0.5 Released

2005-08-04 Thread Shay Banon
We are please to announce the 0.5 major feature release of Compass Object/Search Engine Mapping (OSEM) framework. This release makes integrating search capability with existing development frameworks (like Hibernate and Spring) even simpler. Compass uses declarative mapping technology, which me

Re: setBoost(float) in org.apache.lucene.document.Field cannot be applied to (double)???

2005-08-04 Thread Otis Gospodnetic
Yes. use 1.2f there. That method accepts floats, not doubles. That could be an error in the Lucene book. Otis --- Riccardo Daviddi <[EMAIL PROTECTED]> wrote: > Why I got this error by writing for example: > > Field senderNameField = Field.Text("senderName", senderName); > Field subjectField

Re: Distributable CD

2005-08-04 Thread Genty Jean-Paul
Check http://www.docsearcher.tk/ They have a way to create searchable CDs ( I did not tested it :-) ) Jean-Paul At 16:31 04/08/2005, you wrote: We deliver HTML web sites to our clients on a CD. It often remains on that CD, and they pass the CD around, and use it when they need to do r

when close searcher

2005-08-04 Thread Daniel Cortes
I have a Multisearcher, when I have to close multisearcher (multisearcher.close()) and if I do this I have to close every IndexSearcher? In what order I have to do this things? My problem are because, I modify one index (my multisearcher are composed by 6 Index) I don't know if my process to "r

Re: performance: gcj, sun, ibm ?

2005-08-04 Thread Daniel Naber
On Thursday 04 August 2005 16:46, John Haxby wrote: > Lucene, compiled with gcj I believe, is part of Fedora Core 4. Sounds interesting, but what exactly does it mean? Is it still a jar file that can be used from Java or is it a shared library that can only be used from C(++)? Regards Daniel

Re: Using Custom Analyzer to create case sensitive queries

2005-08-04 Thread Peter T. Brown
Thank You. Yes, I did check that and the CharTokenizer is correctly being used for the field in question. How should I use PerFieldAnalyzerWrapper ? > From: Otis Gospodnetic <[EMAIL PROTECTED]> > Reply-To: > Date: Thu, 4 Aug 2005 10:25:36 -0700 (PDT) > To: > Subject: Re: Using Custom Anal

Re: Using Custom Analyzer to create case sensitive queries

2005-08-04 Thread Otis Gospodnetic
Add some debugging to the if statement that handles "class.name" field. My first guess is that you're not getting in that if case when querying. If that turns out to be true, consider using PerFieldAnalyzerWrapper to accomplish the same thing. Otis --- "Peter T. Brown" <[EMAIL PROTECTED]> wrote:

Using Custom Analyzer to create case sensitive queries

2005-08-04 Thread Peter T. Brown
I have a custom analyzer I've created so that certain fields, which are indexed as Keywords, can be search exactly as they are typed in. Using this custom analyzer however produces not hits. Using Luke, I can see that the field values are identical to the values passed in on the query... My query

Re: Very large number of indices in distributed environment

2005-08-04 Thread Otis Gospodnetic
Hi Benjamin, I don't know what exactly your application is doing, but option 2) sounds the most manageable to me. Otis --- Benjamin Reitzammer <[EMAIL PROTECTED]> wrote: > Hi, > we are in the process of planning a search feature of a product and > we > are having quite a hard time figuring out

Re: Very large number of indices in distributed environment

2005-08-04 Thread Ian Lea
In my experience, searching a read only index mounted via NFS is fine. The NFS related issues are with locking. I'd agree with Chris that you should try to avoid very big indexes. -- Ian. On 04/08/05, Chris Lu <[EMAIL PROTECTED]> wrote: > A big index is slow to merge, slow to search, and as yo

Re: Very large number of indices in distributed environment

2005-08-04 Thread Chris Lu
A big index is slow to merge, slow to search, and as you mentioned, it's slow to sync. An 1G index took me several hours to merge on a P3 1GHz 512MRam. Mounting Lucene on NFS is also a "No GO". I feel you choice 2 may be feasible, although complicated. That's your job, right. :) BTW: I guess your

Re: performance: gcj, sun, ibm ?

2005-08-04 Thread John Haxby
Martin Rode wrote: hello all, lucene is already pretty fast, but i was wondering if you guys have experience with using gcj (on linux). how much faster is it for indexing? personally i have best performance with java-ibm, at least under linux. it would be interesting to hear how your exper

performance: gcj, sun, ibm ?

2005-08-04 Thread Martin Rode
hello all, lucene is already pretty fast, but i was wondering if you guys have experience with using gcj (on linux). how much faster is it for indexing? personally i have best performance with java-ibm, at least under linux. it would be interesting to hear how your experiences are. thanks i

Re: Distributable CD

2005-08-04 Thread Volodymyr Bychkoviak
As I know you dont' need to install jre on target machine (you could put jre onto cd and use it from cd), but this applies _only_ to standalone apllications. this means that you will be unable to use java browser plugin. Dan Funk wrote: We deliver HTML web sites to our clients on a CD. It o

Re: Distributable CD

2005-08-04 Thread Robert Koberg
Dan Funk wrote: We deliver HTML web sites to our clients on a CD. It often remains on that CD, and they pass the CD around, and use it when they need to do research on some topic. We would like to offer them the ability to search the contents of the CD. We can not install any software on t

Distributable CD

2005-08-04 Thread Dan Funk
We deliver HTML web sites to our clients on a CD. It often remains on that CD, and they pass the CD around, and use it when they need to do research on some topic. We would like to offer them the ability to search the contents of the CD. We can not install any software on their windows mach

Re: SV: Search in multi fields with cross field AND ?

2005-08-04 Thread Martin Rode
Hi Erlend, In my case "text" is everything. Whenever I add anything to the index, I also add a "text" Field. So in your case, I would build the index like you did with an additional doc.add(Field.Text("text", bean.getCompanyName())); after each addition. If you then search, the "text" will g

SV: setBoost(float) in org.apache.lucene.document.Field cannot be applied to (double)???

2005-08-04 Thread erlend.bjorge
Hi! >Field senderNameField = Field.Text("senderName", senderName); Field >subjectField = Field.Text("subject", subject); subjectField.setBoost(1.2); Try: subjectField.setBoost(1.2f); ? :-) Erlend - To unsubscribe, e-mail: [E

SV: Search in multi fields with cross field AND ?

2005-08-04 Thread erlend.bjorge
Hi there Martin! >try this code: >QueryParser q = new QueryParser("text", analyzer); What is "text" in this context ? All fields for the Field.text ? Or like I understand it, name of a field, like my "keywords1" ?? Anyway, this code didn't work at all with "text" at least, 0 hits, Even with one

setBoost(float) in org.apache.lucene.document.Field cannot be applied to (double)???

2005-08-04 Thread Riccardo Daviddi
Why I got this error by writing for example: Field senderNameField = Field.Text("senderName", senderName); Field subjectField = Field.Text("subject", subject); subjectField.setBoost(1.2); as in the manual lucene in action?? 1.2 is a double, but the method wants a float? -- Riccardo Daviddi ---

Re: Search in multi fields with cross field AND ?

2005-08-04 Thread Martin Rode
Erlend, try this code: QueryParser q = new QueryParser("text", analyzer); q.setOperator(QueryParser.DEFAULT_OPERATOR_AND); Query query = q.parse(search); Hits hits = isearcher.search(query); Best, Martin [EMAIL PROTECTED] wrote: Hi there! I'm fairly new to Lucene and trying

Search in multi fields with cross field AND ?

2005-08-04 Thread erlend.bjorge
Hi there! I'm fairly new to Lucene and trying evaluate it. I want to retrieve only documenets (companies) that has all the words searched for in different fields, crossed in different fields with AND search. I have a structure in the "documents" (companies) like this : companyName string keyw

Very large number of indices in distributed environment

2005-08-04 Thread Benjamin Reitzammer
Hi, we are in the process of planning a search feature of a product and we are having quite a hard time figuring out the "right" way to do it. The requirements for our app are the following: 1) Large number of indices (at _least_ 1) 2) The amount of data involved per index is not very high, bu