ToParentBlockJoinQuery - Faceting on Parent and Child Documents

2012-07-25 Thread Jayendra Patil
Thanks Mike for the wonderful work on ToParentBlockJoinQuery. We had a use case for Relational data search and are working with ToParentBlockJoinQuery which works perfectly as mentioned @ http://blog.mikemccandless.com/2012/01/searching-relational-content-with.html However, I couldn't find any ex

Re: Boolean Search In Lucene

2011-06-03 Thread Jayendra Patil
The Boolean operators provided basically map to MUST (+), SHOULD (no symbol) and NOT (-) If we write query like (jakarta AND apache) OR website what happen? >> It will return results with documents having Jakarta & Apache or Website Is it possible that we can get the document that contains 'jakar

Re: Need help in understanding output of searcher.explain() function

2010-08-07 Thread jayendra patil
Trying to put up an explanation :- 0.022172567 = (MATCH) product of: 0.07760398 = (MATCH) sum of: 0.02287053 = (MATCH) weight(payload:ces in 550), product of: 0.32539415 = queryWeight(payload:ces), product of: 2.2491398 = *idf*(docFreq=157, maxDocs=551) 0.14467494 = queryNor

Re: Boost and ordering based on most recently updated

2010-08-04 Thread jayendra patil
you can probably try using the sort parameter with the primary sort being on score and the secondary sort being on the recent update date. e.g. sort=score desc, recentUpdateDate desc So the recent update date would take affect in the group where the document have same score. Regards, Jayendra On

MultiPhraseQuery throws ArrayIndexOutOfBounds Exception

2010-07-30 Thread jayendra patil
Working on the nightly build of solr and lucene - MultiPhraseQuery throws ArrayIndexOutOfBounds Exception for the words defined as synonyms SEVERE: java.lang.ArrayIndexOutOfBoundsException: 5 at org.apache.lucene.search.MultiPhraseQuery$MultiPhraseWeight.scorer(MultiPhraseQuery.java:191)