You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Even if I use QueryRequest with METHOD.POST I need to use deprecated override: @OverRide
public Collection getContentStreams() {
return Collections.singleton((ContentStream) new ContentStreamBase
.StringStream(input));
}
To get success with solr text tagger request handler.
In TaggerRequestHandler.java
//--Get posted data
Reader inputReader = null;
Iterable streams = req.getContentStreams();
Maybe it's better to support input string via parameters like overlaps - final String inputString =
req.getParams().get(INPUT_STRING); ?
The text was updated successfully, but these errors were encountered:
Yes, it's fairly recent that getContentStreams was deprecated in favor of org.apache.solr.client.solrj.SolrRequest#getContentWriter. But it'll be around thru the 7.x series for back-compat reasons. You could send the stream.body param as an alternative.
Even if I use QueryRequest with METHOD.POST I need to use deprecated override:
@OverRide
public Collection getContentStreams() {
return Collections.singleton((ContentStream) new ContentStreamBase
.StringStream(input));
}
To get success with solr text tagger request handler.
In TaggerRequestHandler.java
//--Get posted data
Reader inputReader = null;
Iterable streams = req.getContentStreams();
Maybe it's better to support input string via parameters like overlaps - final String inputString =
req.getParams().get(INPUT_STRING); ?
The text was updated successfully, but these errors were encountered: