My initial concern was not about efficiency , but that using xml to
make code more generic results in far from from elegant if/else
checks for each of Field.Store , Field.Index , Field.TermVector. I'd
prefer suggested way to make initial preparations to create the maps
and then have an assignm
I want to keep index parameters in XML.
e.g.
May I avoid switch/case , if/else in my code
and assign somehow Field.Store, Field.Index and etc... based on string value.
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For a
What practical of using WITH_POSITIONS_OFFSETS ? Aren't WITH_OFFSETS
sufficient and if iterate getStartOffset effectively gives the value
from array element of getTermPositions ?
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For
I browsed this list and contributions and have a difficulty to
determine whether there is anything which may be used
straightforwardly to highlight all hits ( no fragmenting ) for large
chunk of text. Probably my query should be sent as 3 separate ones :
1. The fastest possible fragment highligh