I had a same issue and here is my solution.
Basically, option #1 that Konstantin suggested,
public class TextDocValueField extends TextField {
@Override
public List createFields(SchemaField field, Object value,
float boost) {
if (field.hasDocValues()) {
List fields = new ArrayList
Konstantin Gribov wrote:
> Any thoughts on it? Can something like this be merged into trunk to support
> docValues on `solr.TextField`?
> [1]: https://github.com/grossws/solr-dvtf
This looks like a perfect fit for one of our setups, where current index
re-open time is several minutes due to 2 a
Hello again.
My phrase about TokenStream reuse was incorrect since it's reused even in
TextField case, so Analyzer#createComponents() is called infrequently. But
analysis itself takes some time (in case of StrField it's trivial, just
calling `toInternal`).
One suspicious moment is that solr.StrFi