Re: combine to MultiTermQuery with OR

2015-02-10 Thread Nitin Kothwal
Hi sascha, You can do with boolean query, Take your three queries and OR them with boolean clause Occur.should. -Nitin On Tuesday 10 February 2015 08:58 PM, Sascha Janz wrote: Hi, i want to combine two MultiTermQueries. One searches over FieldA, one over FieldB. Both queries should be

Re: Boolean Search Query is not workng

2015-01-23 Thread Nitin Kothwal
. This may help you. -Nitin On Friday 23 January 2015 03:57 PM, Priyanka Tufchi wrote: Hi Ian I tried with what u sent Query-java~5 jakarta~5 apache tomcat Document : "1", "java jakarta tomcat" "2", java jakarata"" "3", "java jak

Help for Implementing Most relevance Search algorithm in lucene for my project

2014-12-23 Thread Nitin Chauhan
m scoredoc now as searcher.setDefaultFieldSortScoring(true, false); doesn't seem to work in Lucene 4.6.1 Also which similarity is best to build this up . The default is good enough for me or BM25 or any other ? Regards, Nitin Chauhan Developer

Highlighting does not work with PayloadTermQueries

2012-02-21 Thread Nitin Arora
ries.add( new TermQuery( pq.getTerms()[0] ) ); } } } // else discard queries } What is the best way to get highlighting working with Payload Term Queries? Thanks Nitin -- View this message in context: http://lucene.472066.n3.nabble.com/Highlighting-does-not-work-with-Paylo

problem with the output of using SVD with lucene

2009-05-01 Thread nitin gopi
. But how?? Please reply as soon as possible. Thanking You, Yours Sincerely Nitin Gopi

lsa on term document vector matrix

2009-04-14 Thread nitin gopi
hi all, Can somebody help me to figure out how can I use "jama svd package" to apply LSA to the "term document vector" produced by lucene? Yours Sincerely, Nitin

semantic vectors

2009-03-31 Thread nitin gopi
. It would be very helpful if somebody mail me all the study material related to it? Thanking You Nitin

Re: Getting started with Lucene

2009-03-20 Thread nitin gopi
hi you should add classpath of both lucene demo jar file and lucene core jar file . then run the command to build the index final step is to run the command to search files nitin On Fri, Mar 20, 2009 at 6:05 PM, Uwe Schindler wrote: > As I know, the demos are not compiled by default in

Re: lsi as indexing algorithm with lucene

2009-03-18 Thread nitin gopi
lucene and semantic vector which is semantically better than lucene? On 3/18/09, Paul Libbrecht wrote: > Nitin, > > LSI is patented so it's not been a flurry of implementation attempts. > However, SemanticVectors is a library that does similar approaches to > LSA/LSI for inde

lsi as indexing algorithm with lucene

2009-03-17 Thread nitin gopi
hi all , has any body tried to use LSI(latent semantic indexing) for indexing in lucene? - To unsubscribe, e-mail: java-user-unsubscr...@lucene.apache.org For additional commands, e-mail: java-user-h...@lucene.apache.org

doubt in adding a field in document

2009-03-07 Thread nitin gopi
hi all, i am having error in my code. the line giving error is bold in the code.the error is cannot find symbol. thank you nitin import java.io.File; import java.io.FileReader; import java.io.Reader; import java.util.Date; // import org.apache.lucene; import

Re: error in code

2009-03-06 Thread nitin gopi
th",textFiles[i].getPath())); Thanks, Nitin Gopi On Fri, Mar 6, 2009 at 11:01 AM, Ganesh wrote: > Hello gopi, > > My comments. > > if(textFiles[i].isFile() > textFiles[i].getName().endsWith(".txt")){ >> > && should be used. > > *documen

error in code

2009-03-05 Thread nitin gopi
exWriter.optimize(); indexWriter.close(); long endTime = new Date().getTime(); System.out.println("It took " + (endTime - startTime) + " milliseconds to create an index for the files in the directory " + fileDir.getPath()); } } Regards , Nitin Gopi

problem with indexing

2009-02-23 Thread nitin gopi
hi all, I want to modify the indexing process lucene to suit my application. I partially read the book LUCENE IN ACTION but it contains no information to extract the term document matrix. I want to apply LSI to the indexed document. Please somebody help me out. regards nitin

class used to create term document matrix in lucene

2009-02-19 Thread nitin gopi
Hi all Can anybody tell me which class and its methods are used to create term document matrix in lucene? Regards, Nitin

query regarding indexing method

2009-02-18 Thread nitin gopi
Hello all, I want to know what algorithm lucene uses for indexing documents. Can I use lucene in my application with my own algorithm for indexing? regards, Nitin Gopi

Re: problem in running lucene

2009-01-25 Thread nitin gopi
0.jar" . I want to index a web document and see the result after searching. Regards Nitin On Sun, Jan 25, 2009 at 5:47 AM, Grant Ingersoll wrote: > Can you share the steps you have taken? The actual commands, that is. > > -Grant > > > On Jan 24, 2009, at 2:33 PM, nitin gop

problem in running lucene

2009-01-24 Thread nitin gopi
lucene.The problem I am facing is that whenver i run lucene jar file through command prompt, i get error as "failed to load main-class manifest attribute from lucene-core-2.4.0.jar .I m using java 1.6.0_05. Please help me with this. Thanking You Nitin

first time using lucene

2009-01-21 Thread nitin gopi
first want to input some documents and see the indexed document. Please guide me step by step how to do that. Thanking You Nitin

RE: null results

2005-09-01 Thread Nitin
hi all, even i am getting similar error. i found that it is because of unsorted index..anybody has idea about it? Thanks in advance Regards Nitin -Original Message- From: Gasi [mailto:[EMAIL PROTECTED] Sent: Friday, September 02, 2005 2:45 AM To: java-user@lucene.apache.org Subject