lucene-solr-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From sudsport s <>
Subject The Streaming API ( : id must have DocValues?
Date Sun, 24 Apr 2016 16:55:59 GMT
I was trying to use Streaming for reading basic tuple stream. I am using
sort by id asc ,
I am getting following exception

I am using export search handler as per id must have DocValues to use this feature.
	at org.apache.solr.response.SortingResponseWriter.getFieldWriters(
	at org.apache.solr.response.SortingResponseWriter.write(
	at org.apache.solr.response.QueryResponseWriterUtil.writeQueryResponse(
	at org.apache.solr.servlet.HttpSolrCall.writeResponse(
	at org.apache.solr.servlet.SolrDispatchFilter.doFilter(
	at org.apache.solr.servlet.SolrDispatchFilter.doFilter(
	at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(
	at org.eclipse.jetty.servlet.ServletHandler.doHandle(
	at org.eclipse.jetty.server.handler.ScopedHandler.handle(
	at org.eclipse.jetty.server.session.SessionHandler.doHandle(
	at org.eclipse.jetty.server.handler.ContextHandler.doHandle(
	at org.eclipse.jetty.servlet.ServletHandler.doScope(
	at org.eclipse.jetty.server.session.SessionHandler.doScope(

does it make sense to enable docValues for unique field? How expensive is it?

if I have existing collection can I update schema and optimize
collection to get docvalues enabled for id?



  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message