Re: Conversion from Lucene 1.4.3 API to 2.2.0 API.

2007-12-07 Thread Matthijs Bierman
Hi, I would recommend downloading the 1.9.0 release for porting your code. It will show you what's deprecated and the javadoc will show you the proper way to do it. What you would want with your field is: /** Constructs a String-valued Field that is tokenized and indexed, and is stored in

Re: Lucene highlighting

2007-11-28 Thread Matthijs Bierman
This would only highlight plaintext though, not in the original document as I suspect the TS would like. Matthijs markharw00d wrote: I need to highlight an entire document as it is displayed See NullFragmenter - To uns

Re: Lucene highlighting

2007-11-28 Thread Matthijs Bierman
Hi Scott, The highlighter code does not do this. You need to implement your own highlighter. What kind of documents are you indexing? Matthijs Scott Smith wrote: I've been looking at the highlighter examples. All of them seem to deal with fragments. I need to highlight an entire document

Re: help required urgent!!!!!!!!!!!

2007-11-22 Thread Matthijs Bierman
Hi Simply create your own analyzer with JavaCC. See the repository for the latest StandardAnalyzer.jj file, make sure the Analyzer accepts anything with a hypen as a single token. And try not to yell, please. Most of the questions are urgent, there is no need for emphasis - especially in this

Re: Custom query parser

2007-11-22 Thread Matthijs Bierman
Hi Nicolas, Why can't you extend the QueryParser and override the methods you want to modify? Cheers, Matthijs Nicolas Lalevée wrote: Hi, I am willing to have a query parser which is fault tolerant. I have search over the archive, and I have found this : http://www.nabble.com/Error-tolera

Re: get original term for synonym

2007-11-15 Thread Matthijs Bierman
and what would you want highlighted in each case? 1) zone 2) zone-indeling 3) "zone indeling" 4) zone-somethingElse My assumption here is that you are using the standard Lucene Query parser and that query 3 will therefore be a phrase query. Cheers Mark - Original Message F

Re: get original term for synonym

2007-11-14 Thread Matthijs Bierman
Hi Mark, Your solution would be correct if the synonym would be a true 2-way synonym. Unfortunately this is not the case. My analyzer takes care of decomposition of specific Dutch words (where a "-" is used to create compound words). For example: 'zone-indeling' would create synonyms for 'zone'->

get original term for synonym

2007-11-12 Thread Matthijs Bierman
points to? Thank you in advance, Matthijs Bierman (Netherlands) - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]