Re: Displaying and highlighting results from a Wild Card and Fuzzy search using Lucene in Java

2008-06-18 Thread syedfa
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]

Re: Displaying and highlighting results from a Wild Card and Fuzzy search using Lucene in Java

2008-06-17 Thread Mark Miller
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

Re: Displaying and highlighting results from a Wild Card and Fuzzy search using Lucene in Java

2008-06-17 Thread Chris Hostetter
: 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); ..

Re: Displaying and highlighting results from a Wild Card and Fuzzy search using Lucene in Java

2008-06-17 Thread Mark Miller
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

Re: Displaying and highlighting results from a Wild Card and Fuzzy search using Lucene in Java

2008-06-16 Thread syedfa
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. -

Re: Displaying and highlighting results from a Wild Card and Fuzzy search using Lucene in Java

2008-06-15 Thread Mark Miller
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]

Re: Displaying and highlighting results from a Wild Card and Fuzzy search using Lucene in Java

2008-06-15 Thread syedfa
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:

Re: Displaying and highlighting results from a Wild Card and Fuzzy search using Lucene in Java

2008-06-01 Thread Daniel Naber
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

Displaying and highlighting results from a Wild Card and Fuzzy search using Lucene in Java

2008-05-31 Thread syedfa
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