RE: how to all documents from

2008-02-29 Thread Shailendra Sharma
Create a match all docs query like following: MatchAllDocsQuery matchAllDocsQuery = new MatchAllDocsQuery(); And then search as you search for any other query - searcher.search(matchAllDocsQuery) - it returns hit Thanks, Shailendra -Original Message- From: sandyg [mailto:[

Re: CachingWrapperFilter: why cache per IndexReader?

2008-01-01 Thread Shailendra Sharma
t Ingersoll > http://lucene.grantingersoll.com > http://www.lucenebootcamp.com > > Lucene Helpful Hints: > http://wiki.apache.org/lucene-java/BasicsOfPerformance > http://wiki.apache.org/lucene-java/LuceneFAQ > > > > > > - > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > > -- Shailendra Sharma +91-988-011-3066

Re: Prioiritze new documents

2008-01-01 Thread Shailendra Sharma
ints: > http://wiki.apache.org/lucene-java/BasicsOfPerformance > http://wiki.apache.org/lucene-java/LuceneFAQ > > > > > > - > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > > -- Shailendra Sharma +91-988-011-3066

Re: Can I do boosting based on term postions?

2007-08-03 Thread Shailendra Sharma
Ah, Good way ! On 8/4/07, Paul Elschot <[EMAIL PROTECTED]> wrote: > > On Friday 03 August 2007 20:35, Shailendra Sharma wrote: > > Paul, > > > > If I understand Cedric right, he wants to have different boosting > depending > > on search term positions in t

Re: Can I do boosting based on term postions?

2007-08-03 Thread Shailendra Sharma
IL PROTECTED]> wrote: > > > Cedric, > > > > > > SpanFirstQuery could be a solution without payloads. > > > You may want to give it your own Similarity.sloppyFreq() . > > > > > > Regards, > > > Paul Elschot > > > > >

Re: Can I do boosting based on term postions?

2007-08-02 Thread Shailendra Sharma
; > Cedric, > > > > SpanFirstQuery could be a solution without payloads. > > You may want to give it your own Similarity.sloppyFreq() . > > > > Regards, > > Paul Elschot > > > > On Thursday 02 August 2007 04:07, Cedric Ho wrote: > > > Thanks for

Re: Can I do boosting based on term postions?

2007-07-31 Thread Shailendra Sharma
without re-creating indices everytime. Thanks, Shailendra Sharma, CTO, Ver se' Innovation Pvt. Ltd. Bangalore, India On 8/1/07, Cedric Ho <[EMAIL PROTECTED]> wrote: > > Hi all, > > I was wondering if it is possible to do boosting by search terms' > position in the document.

Re: Lucene Field score value

2007-07-31 Thread Shailendra Sharma
Though I am not sure what is the possible use case for thing like below, but here is the pointer: Using IndexSearcher you can get the "Explanation" for the given query and document-id. Complex Explanation has multiple sub-explanations and so forth. Simple Explanation would contain the weight of th

Re: How to show category count with results?

2007-07-31 Thread Shailendra Sharma
your piece of code would be really small. Thanks, Shailendra Sharma CTO, Ver Se' Innovation Private Ltd. Bangalore, India On 7/30/07, Dennis Kubes <[EMAIL PROTECTED]> wrote: > > We found that a fast way to do this simply by running a query for each > category and getting the ma