Re: how to run boost query for non-dismax query parser

2011-03-24 Thread cyang2010
iorixxx, thanks for your reply. Another a little bit off topic question. I looked over all the subclasses of QParserPlugin. It seesm like most of them provide complementary parsing to the default lucene/solr parser. Except prefixParser. What is the intended usage of that one? The default luc

Re: how to run boost query for non-dismax query parser

2011-03-24 Thread Ahmet Arslan
> Thanks for your reply.  yeah, an additional query with > the boost value will > work. > > However, I just wonder where you get the information that > BoostQParserPlugin > only handles function query? > > I looked up the javadoc, and still can't get that.  > This is the javadoc. > > > Create a

Re: how to run boost query for non-dismax query parser

2011-03-24 Thread cyang2010
Hi iorixxx, Thanks for your reply. yeah, an additional query with the boost value will work. However, I just wonder where you get the information that BoostQParserPlugin only handles function query? I looked up the javadoc, and still can't get that. This is the javadoc. Create a boosted quer

Re: how to run boost query for non-dismax query parser

2011-03-24 Thread Ahmet Arslan
> I need to code some boosting logic when some field equal to > some value.   I > was able to get it work if using dismax query parser.  > However, since the > solr query will need to handle prefix or fuzzy query, > therefore, dismax > query parser is not really my choice.  > > Therefore, i want