how do i search clause

2008-03-02 Thread anjana m
"Rats give clue to smokingi want to search with this clause my serach is serachinf or a single input word. How do i enhacne it to serach for a cluase. please provide me nfo and classes that i need to use. thanks and regards anjnan

Re: Does Lucene support partition-by-keyword indexing?

2008-03-02 Thread 仇寅
Hi Mathieu, You were right. In the early stage, I only intend to implement the basic TermQuery and BooleanQuery function. Fuzzy match and partial match requires more complicated algorithms. Cache consistency will certainly be my concern. And yes, each node contains their own documents and builds

Re: explain() - fieldnorm

2008-03-02 Thread Chris Hostetter
: As my subject is telling, i have a little problem with analyzing the : explain() output. : I know, that the fieldnorm value consists out of "documentboost, fieldboost : and lengthNorm". : Is is possible to recieve the single values? I know that they are multiplied : while indexing but : can they

Re: searching for "Nothing"

2008-03-02 Thread Daniel Noll
On Monday 03 March 2008 05:40:39 Ghinwa Choueiter wrote: > thank you. You were right. Indexing by "" does not do what I need. > > How would one represent a null index? Perhaps another way of asking the > question is what query would return to me all the documents in the > database (all-pass filter)

Re: searching for "Nothing"

2008-03-02 Thread Ghinwa Choueiter
thank you. You were right. Indexing by "" does not do what I need. How would one represent a null index? Perhaps another way of asking the question is what query would return to me all the documents in the database (all-pass filter). thank you for your patience! -Ghinwa - Original Message

Re: Does Lucene support partition-by-keyword indexing?

2008-03-02 Thread Mathieu Lecarme
Thanks for your clean and long answer. With Term splitted on different node you've got different drawback : PrefixQuery and FuzzyQuery will be very hard to implement. Your DHT look very nice, but Bittorrent, the best bandwidth consumer in the world (something like 30% of the Internet), made th

Re: Does Lucene support partition-by-keyword indexing?

2008-03-02 Thread 仇寅
Hi Mathieu, I hope my previous mail has explained something. My objective is just to do some simple research and to demonstrate the feasibility, so we can leave other options alone. And you talked about caching. Yes, that will also be my concern. Thanks for your advice though. On Sun, Mar 2, 2008

Re: Does Lucene support partition-by-keyword indexing?

2008-03-02 Thread 仇寅
Hi, I am just doing some simple research on P2P searches. In my assumption, all nodes in this system index their own documents and each node will be able to search all the documents in the network (including others'). This is just like file sharing. The simple approach is to keep all the indices l

Re: searching for "Nothing"

2008-03-02 Thread Erick Erickson
The best and most deterministic way to answer this kind of question is to download Luke and look at the explained query. That'll show you exactly what the effect of different analyzers and the exact structure of the resulting query. Offhand, I don't think your rewrite will work. Best Erick On Sa

Re: Does Lucene support partition-by-keyword indexing?

2008-03-02 Thread Mathieu Lecarme
Le 2 mars 08 à 03:05, 仇寅 a écrit : Hi, I agree with your point that it is easier to partition index by document. But the partition-by-keyword approach has much greater scalability over the partition-by-document approach. Each query involves communicating with constant number of nodes; whi

Re: More IndexDeletionPolicy questions

2008-03-02 Thread Michael McCandless
Unfortunately, there is currently no way to ask an IndexReader (DirectoryIndexReader) which commit point it's using. I think it makes sense to add this. I'll open a Jira issue. More answers below: Tim Brennan wrote: Is there a direct way to ask an IndexReader what segment it is pointing at?

Re: Does Lucene support partition-by-keyword indexing?

2008-03-02 Thread eks dev
I did not follow this discussion from the start, but I guess you could cleanly achieve this by implementing org.apache.lucene.index.FilterIndexReader have fun. e. - Original Message From: 仇寅 <[EMAIL PROTECTED]> To: java-user@lucene.apache.org Sent: Sunday, 2 March, 2008 3:05:05 AM Sub