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
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
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
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
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
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
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'->
points to?
Thank you in advance,
Matthijs Bierman
(Netherlands)
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]