Possibility of random search result..?

2010-07-30 Thread Soby Thomas
Hi all, I want to know is it possible to get random search results from an query without using the scoring formulae so that I can compare it with the search result obtained through the lucene scoring formulae. ?? Regards Soby

Re: Parsing wildcard expressions in QueryParser...

2010-07-15 Thread Soby Thomas
Thanks sujan...it worked:) On Thu, Jul 15, 2010 at 5:04 AM, Sujan Shakya wrote: > Hi, > You can use lucene java docs for API. Doc for QueryParser can be found at > > http://lucene.apache.org/java/3_0_0/api/all/org/apache/lucene/queryParser/QueryParser.html > . > > Below is the code that you w

Parsing wildcard expressions in QueryParser...

2010-07-14 Thread Soby Thomas
Hi Guys... I need to pass some wildcard expressions like ' - / * ! into the QueryParser. I saw one method called *escape* but dont know how to call that in python. Can anyone help me in that...?? query = QueryParser(Version.LUCENE_CURRENT, "payload", analyzer).parse(mail_payload) This is how

Re: Help with using MultiFieldQueryParser

2010-07-10 Thread Soby Thomas
Thanks Aric...it worked. On Fri, Jul 9, 2010 at 7:32 PM, Aric Coady wrote: > On Jul 9, 2010, at 9:53 AM, Soby Thomas wrote: > > Hi , > > > > I'm trying to use MultiFieldQueryParser. But it is giving me an error. > This > > is the code wh

Help with using MultiFieldQueryParser

2010-07-09 Thread Soby Thomas
Hi , I'm trying to use MultiFieldQueryParser. But it is giving me an error. This is the code which I wrote for it. * query = lucene.MultiFieldQueryParser(lucene.Version.LUCENE_CURRENT, ["payload","subject"], analyzer).parse(command) *The error 'm getting is this... *Traceback (most recent call