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
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
--
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
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
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
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