Hello.
What about MultiFields.getTerms().iterator().seekCeil(new BytesRef("ski")) ?
On Thu, Sep 6, 2018 at 12:39 AM Mike Grishaber
wrote:
> Hello All,
>
>
>
> I am trying to find a way to retrieve a list of the words that matched a
> query. I'm not looking for highlighting, just a list of the
If what you want is to undo the analysis and find text in the original
document that was transformed into the terms that matched your query, that
is what highlighters are for. Do you have a reason not to want to use the
highlighters?
On Wed, Sep 5, 2018, 5:39 PM Mike Grishaber
wrote:
> Hello All
Except TermQuery which does exact match, you can do * by appending
star char. In Oracle Database Sql it is like the % char.
Hope this helps
Best
> On Sep 5, 2018, at 5:38 PM, Mike Grishaber wrote:
>
> Hello All,
>
>
>
> I am trying to find a way to retrieve a list of the words that matched
Term in my view is definitely not any more of a char buffer than a plain
String. It's a unique permutation of a particular field name and its text
value. If you look at its public API, the only way to mutate a Term
instance is by obtaining a reference to underlying BytesRef which is in
itself mutab
it's CharTermAttribute in particular but since there are many such
particular examples -- at some point it becomes Lucene in general.
perhaps the problem is on my end that I'm not familiar enough with
DSL-style, but learning DSL concepts is not a prerequisite for Lucene.
as for the Term being
Are you critiquing CharTermAttribute in particular, or Lucene in general?
It appears CharTermAttribute is DSL-style builder API, just like its
superinterface Appendable - does that not appear intentional and
self-explanatory? Further, I believe Term instances are meant to be
immutable hence no dire