Marcel Reutegger wrote: > > Hi, > > On Thu, Feb 26, 2009 at 21:47, Alexander Klimetschek <[email protected]> > wrote: >> On Thu, Feb 26, 2009 at 8:11 PM, PThiemann >>> Does anyone know if query highlighing is supported with jcr:like? >> >> Yes, I think this is the case. > > no, it's not supported. only query terms in a jcr:contains are > considered for highlighting. > >> It seems the default excerpt >> highlighting is not able to handle wildcards. > > yes, it is, but only from jcr:contains. it does not depend on the > excerpt provider, but on the underlying lucene query being able to > provide terms on Query.extractTerms(Set). The wildcard query does this > by expanding the pattern and collect all matching tokens in the index. > this process is however limited to 1024 tokens. if your pattern > matches more than 1024 distinct tokens in the index, you won't get any > highlighted terms in the excerpt for the wildcard term. > > regards > marcel > >
Thanks a lot. Now I see things much more clearly. :-) -- View this message in context: http://www.nabble.com/Slashes-in-wildcard-query-string-do-not-work-tp22220831p22245000.html Sent from the Jackrabbit - Users mailing list archive at Nabble.com.
