Re: Scores With & Without IDF In A Single Search

2020-02-22 Thread Amal S Raj
e to run two searches with a filter that only > matches this document. > > On Fri, Feb 21, 2020 at 2:39 PM Amal S Raj wrote: > > > Hi, > > > > I'd like to retrieve the score with and without IDF for a particular > > document in a search. What is a good way

Scores With & Without IDF In A Single Search

2020-02-21 Thread Amal S Raj
Hi, I'd like to retrieve the score with and without IDF for a particular document in a search. What is a good way to implement this, without doing two searches? Thanks, Amal

inconsistency in multifield sort while using an Integer field in Lucene 3.0.3

2015-01-28 Thread manoj raj
Hi, I am working with Lucene 3.0.3 I find there is an inconsistency while using Integer fields in multifield sorting. Please Clarify. With Regards, Manoj R.

Delete a field in old documents

2014-01-06 Thread manoj raj
Hi, I have stored fields. I want to delete a single field in all documents. Can i do that without reindexing? if yes, is it costly operations..? Thanks, Manoj.

Lucene Empty Non-empty Fields

2013-11-04 Thread manoj raj
I did some experiments for finding empty fields, But i want to know whether there is any other better method. Have to reduce hard disk space. Method 1: Add "NULL String" in empty fields We can search with null string for empty column & non empty column Observations: - Index size will grow.

Fwd: confirm subscribe to java-user@lucene.apache.org

2013-06-03 Thread manoj raj
Dear sir/madam, I have been working with lucene 3.0.3 and wish to upgrade to lucene 4.3 but i found the performance of 4.3. slower than 3.0.3. I have attached the code used to test and results of test along with this mail. Is there any specific usage pattern to be followed to improve the performa

Re: Difference between Group and Facet

2013-05-28 Thread raj
article: > http://blog.thetaphi.de/2012/02/is-your-indexreader-atomic-major.html very > helpful in understanding the difference between AtomicReaders and > CompositeReaders. > > Brendan > > > > On Tue, May 28, 2013 at 2:30 AM, raj wrote: > > > Thanks a lot Elisabeth > >

Re: Difference between Group and Facet

2013-05-27 Thread raj
) should > cover > what you need. > Best, > Elisabeth > > On 27 May 2013 14:13, raj wrote: > > > Hi, > > > > I wasnt able to find any guidelines on how to add a Group while indexing. > > There is a user guide and demo code for Facet which shows this. Can you

Re: Difference between Group and Facet

2013-05-27 Thread raj
Hi, I wasnt able to find any guidelines on how to add a Group while indexing. There is a user guide and demo code for Facet which shows this. Can you please show how to add a Group while indexing? Thanks, Rajesh On Mon, May 27, 2013 at 3:55 PM, raj wrote: > Hi Elisabeth, > > Thank

Re: Difference between Group and Facet

2013-05-27 Thread raj
e-3-5 > Best, > Elisabeth > > On 27 May 2013 11:16, raj wrote: > > > Hi, > > > > I was seeing that Lucene supports both Groups and Facets. But I was > finding > > it difficult to understand the difference between both. > > > > https://issues.apache

Difference between Group and Facet

2013-05-27 Thread raj
Hi, I was seeing that Lucene supports both Groups and Facets. But I was finding it difficult to understand the difference between both. https://issues.apache.org/jira/browse/LUCENE-1421 - Says "Ability to Group search results by Field". So, is this by existing Fields that we add while indexing or

Re: Faceted search using Lucene 4.3

2013-05-20 Thread raj
Shai, Looks like this is what I was looking for. Will try out Thansk a lot! Rajesh On Mon, May 20, 2013 at 7:27 PM, Shai Erera wrote: > Raj, > > If I understand your question, you can integrate regular and faceted search > as follows: > > Query q = new Te

Re: Faceted search using Lucene 4.3

2013-05-20 Thread raj
:34 AM, raj wrote: > Thanks a lot Shai! That was really quick response. > > > On Thu, May 16, 2013 at 11:32 AM, Shai Erera wrote: > >> Hi Raj, >> >> Unfortunately the userguide is outdated after refactorings made to the >> package. We have an issue open to f

Re: Faceted search using Lucene 4.3

2013-05-15 Thread raj
Thanks a lot Shai! That was really quick response. On Thu, May 16, 2013 at 11:32 AM, Shai Erera wrote: > Hi Raj, > > Unfortunately the userguide is outdated after refactorings made to the > package. We have an issue open to fix that. > Until then, you can find an example code

Faceted search using Lucene 4.3

2013-05-15 Thread raj
Hi, I was checking on Lucene Faceted search and need some guidance. http://lucene.apache.org/core/4_3_0/facet/org/apache/lucene/facet/doc-files/userguide.html#facet_indexingmentions about DocumentBuilder categoryDocBuilder = new CategoryDocumentBuilder(taxo); But I am unable to find Document

Re: Using Lucene with an existing dataset

2011-03-27 Thread Vijay Raj
Check out the similarity implementation here - http://lucene.apache.org/java/3_0_1/api/core/org/apache/lucene/search/Similarity.html , to start thinking about custom ranking algorithms. You can open a IndexSearcher and set the similarity herewith - http://lucene.apache.org/java/2_4_0/api/org/