t; To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
>
>
--
View this message in context:
http://www.nabble.com/Displaying-and-highlighting-results-from-a-Wild-Card-and-Fuzzy-search-using-Lucene-in-Java-tp17582678p17994732.html
Sent from the Lucene - Java Users mailing list archive at Nabble.com.
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
Chris Hostetter wrote:
: why your are getting that error...that is the type of error you would get if
: you were trying to use IndexReaders Protected constructor outside the index
: package...but you are correctly using the static open call...
not quite...
: > IndexReader ir = new
: why your are getting that error...that is the type of error you would get if
: you were trying to use IndexReaders Protected constructor outside the index
: package...but you are correctly using the static open call...
not quite...
: > IndexReader ir = new IndexReader().open(fsDir);
..
I am not seeing the problem. One small thing is that you don't need to
make another Reader...you can get the one from the IndexSearcher. But I
dont see why your are getting that error...that is the type of error you
would get if you were trying to use IndexReaders Protected constructor
outside
View this message in context:
http://www.nabble.com/Displaying-and-highlighting-results-from-a-Wild-Card-and-Fuzzy-search-using-Lucene-in-Java-tp17582678p17878039.html
Sent from the Lucene - Java Users mailing list archive at Nabble.com.
-
First step:
query = query.rewrite()
Then pass the query to the Highlighter.
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
5fbd914
>
> regards
> Daniel
>
> --
> http://www.danielnaber.de
>
> -
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
>
>
--
View this message in context:
On Sonntag, 1. Juni 2008, syedfa wrote:
> I am trying to display my results from doing a search of an xml document
> (some quotes from shakespeare's "Hamlet") using a WildCard and Fuzzy
> search, and then I'm trying to highlight the keyword(s) in the results,
> but unfortunately I am having proble
he pale cast of thought,
And enterprises of great pith and moment
With this regard their currents turn awry,
And lose the name of action.--Soft you now!
The fair Ophelia! Nymph, in thy orisons
Be all my sins remember'd.
--
View this message in context:
http://www.nabble.com/Displaying-and-highl