Re: More Like This query is not working.

2014-07-21 Thread Rajendra Rao
Hello lan, code is below ,please let us know where we are mistaken. public void FindSimilarDocExe() throws IOException, ParseException, ClassNotFoundException { // ResultSet rs=null; // Specify the analyzer for tokenizing text. // The same analyzer should be use

Re: More Like This query is not working.

2014-07-21 Thread Ian Lea
That's not completely self-contained which means that we can't compile and test it ourselves. This looks very dodgy: doc.add(new TextField("searchedText", ... mlt.setFieldNames("SearchedText"); -- Ian. On Mon, Jul 21, 2014 at 12:41 PM, Rajendra Rao wrote: > Hello Ian, > > I am using version

Re: More Like This query is not working.

2014-07-21 Thread Rajendra Rao
Hello Ian, I am using version 4.1 I am expecting id of SearchedText which is similar of QueryStr but i am getting 0 sizeScoreDoc[] hits Below is code I am using. ___ My Parameter is ArrayList whic contain DocID and Criteria Text (collection of Documents to be

Re: Doubt Regarding Lucene matchscore

2014-07-21 Thread Rajendra Rao
+Priyanka Tufchi Hello Kumaran We are using version 4.1 we have passed 1900 document and set paging 1900 we are expecting score of 1900 but we are getting only 1400 records in ScoreDoc[] hits So where are remaining 500 records .? should we consider it no matched ? and 900 records have matchInd