BooleanQuery inquiry

2009-03-16 Thread Jay Joel Malaluan
sort parameter for the first query (on the EXACT field), Sort sort = new Sort(new SortField[] { SortField.FIELD_SCORE, new SortField(FieldConstants.ALBUM_PRIORITY, true) }); Add the first query on the BooleanQuery. While the other two succeeding queries will use the default sort parameter. Re

Re: Unique results in BooleanQuery

2008-12-19 Thread Jay Joel Malaluan
Hi Chris, I was just thinking that when the 1st query of q2 is run it will have its result. Then the 2nd query of q2 will run and have its own result BUT it is now filtered that no same data from the 1st query is returned. Results of the 1st and 2nd query have been appended. Does the 2nd quer

Re: Unique results in BooleanQuery

2008-12-16 Thread Jay Joel Malaluan
Let me expound more on the question. Will the q1 be run on the BooleanQuery q2 and append the results that are not equal to the result of the first query of q2? From: Jay Joel Malaluan To: java-user@lucene.apache.org Sent: Wednesday, December 17, 2008 2:42

Re: Unique results in BooleanQuery

2008-12-16 Thread Jay Joel Malaluan
Hi Paul, But will the q1 be run on the BooleanQuery q2 or q1 is just used for filtering? Regards, Jay Malaluan From: Paul Cowan To: java-user@lucene.apache.org Sent: Wednesday, December 17, 2008 1:37:15 PM Subject: Re: Unique results in BooleanQuery Hi

Re: Inquiry on Lucene Stemming

2008-12-16 Thread Jay Joel Malaluan
worked with it myself. If your goal is to be able to search exact match words (i.e. you need to find "flash" when exactly "flash" was indexed, not "flashing") there are better strategies So a bit more explanation of the problem could perhaps generate more helpful

Inquiry on Lucene Stemming

2008-12-16 Thread Jay Joel Malaluan
Hi, Can anyone comment if my understanding of the stemming process in Lucene is correct. From my testing using the SnowballAnalyzer, if I passed this word "flashing" it will be trimmed to a root word "flash" and this root word ("flash") will be the one searched not the original word "flashing"