problem with highlighter

2008-10-29 Thread Agrawal, Aashish (IT)
Hi, I am using RegexQuery and Highlighter, my query works fine and i get the matches, but there is nothing being printed out from highlighter ? at the same time, if I use Query, it works fine . is something wrong with the code below ? code -- //line -->input string (ie ".*out") RegexQ

API to get the matched lines in a file?

2008-10-26 Thread Agrawal, Aashish (IT)
Is there any API in lucene which gives you matched lines or offiset in a file to first instance of matched pattern? thanks, Aashish Agrawal NOTICE: If received in error, please destroy and notify sender. Sender does not intend to waive

RE: example on RegexQuery

2008-10-26 Thread Agrawal, Aashish (IT)
-- From: Steven A Rowe [mailto:[EMAIL PROTECTED] Sent: Saturday, October 25, 2008 12:31 AM To: java-user@lucene.apache.org Subject: RE: example on RegexQuery Hi Aashish, On 10/24/2008 at 3:35 AM, Agrawal, Aashish (IT) wrote: > I want to use lucene for a simple search engine with regex s

RE: example on RegexQuery

2008-10-24 Thread Agrawal, Aashish (IT)
Hi, I want to use lucene for a simple search engine with regex support . I tried using RegexQuery.. but seems I am missing something. Is there any working exmaple on using RegexQuery ?? thanks Aashish Agrawal NOTICE: If received in err

RE: How to use regexQuery along with fuzzy logic capabilities

2008-10-23 Thread Agrawal, Aashish (IT)
any comments / help on this question ? thanks, Aashish Hi, I want to use lucene for a simple search engine. If I use the code like this, QueryParser parser = new QueryParser(field, analyzer); Query query = parser.parse(line); searcher.search(query) above code doesn't give me regular expr

How to use regexQuery along with fuzzy logic capabilities

2008-10-22 Thread Agrawal, Aashish (IT)
Hi, I want to use lucene for a simple search engine. If I use the code like this, QueryParser parser = new QueryParser(field, analyzer); Query query = parser.parse(line); searcher.search(query) above code doesn't give me regular expression search power, while at the other hand if I use the bel