Stemming and exact phrases

2005-10-09 Thread Anand Kishore
Hi, Does stemming result in failure of exact phrase matches??? -- - Anand

Indexing-Searching Design

2005-10-04 Thread Anand Kishore
Hi all, Having read the mail in the mailing list archive about Best Indexing-Searching Practices I have come up with the following architecture for my application. Kindly evaluate and comment regarding the same. Figure: http://www.flickr.com/photos/[EMAIL PROTECTED]/49301053/ Explanation: The

Boosting a subquery

2005-09-29 Thread Anand Kishore
Hi, LIA has info about boosting terms and/or fields but how do I go about boosting an entire bracketed subquery. For example: if I have a query consisting of 2 subqueries like: (xyz:AAA OR qwe:BBB) OR (xyz:CCC OR zxc:DDD) I want to boost subquery1 so that documents are ranked accordingly. -- - A

Re: Is analyzing same as tokenizing???

2005-09-27 Thread Anand Kishore
> That is correct. A Keyword field is taken exact case as-is as a > single term. For example: If I have a keyword field named "sender" which has the value "The Motely Fool", doing a search for either of these query terms "Fool" or "fool" or "Motely" on the "sender" field should match the documents

Is analyzing same as tokenizing???

2005-09-26 Thread Anand Kishore
Hi, Is 'Analyzing' same as 'Tokenizing'? When we say the Keyword field is not analyzed, but indexed and stored, does it indicate it is not tokenized as well? That means inorder to find a query match against a keyword there has to be an exact match(case sensitive). -- - Andy

Re: Problems in standard Analyzer

2005-09-26 Thread Anand Kishore
Try using a PerFieldAnalyzerWrapper through wich you can specify analyzers on a per field basis. This way you could skip analyzing this particular field while searching. On 9/26/05, M å n i s h <[EMAIL PROTECTED]> wrote: > > > Actually in Index I can see that MN12345 value very clearly that too in

Re: Displaying search context

2005-09-23 Thread Anand Kishore
Thanx guyz for your prompt replies. >>When you want to display relevant text for a search >>result, find the file on disk, and pass it through the Lucene >>Highlighter (see the Lucene sandbox). A nice suggestion but again as i'm indexing mails my Lucene Document has fields like "Sender", "Subject

Displaying search context

2005-09-23 Thread Anand Kishore
Hi, I am indexing emails through Lucene. The body of the mails is stored in an ''Unstored" field. I also have a search interface setup which returns me all Documents matching my query. What i need is to display a few lines from the body of the mails where the queryTerm was found. How can this be a