Thanks Erik. That's what I did in the end and it works great. I thought I'd
need to create a custom response to remove unnecessary fields but was able
to make the request return pretty much only what I need, even adding
omitHeader=true. I'm using the EdgeNGramFilterFactory during indexing on
the ti
I wouldn’t personally do anything custom for JSON - but rather just pull out
what you need client-side (and make the request such that it doesn’t return
more than you need). Doing a custom JSON format for this would limit your
later flexibility in case you wanted to get different pieces of the
Hi Erik,
Wow that's great. Thanks for the explanation, I tried using the
VelocityResponseWriter with your template provided and it worked as
expected, makes sense!
What if I want to return a custom JSON response back, rather than HTML for
auto-suggesting? I'm thinking about using Twitter's typeah
Ryan - I just pulled Taming Text off my shelf and refreshed my memory of this
custom response writer.
While having a custom writer is a neat example, it’s unnecessary for that
particular functionality. Solr has a built-in templatable response writer, the
VelocityResponseWriter. You can see
Hey Everyone,
I'm a little stuck on building a custom query response writer. I want to
create a response writer similar to the one explained in the book, Taming
Text, on the TypeAheadResponseWriter. I know I need to implement the
QueryResponseWriter, but I'm not sure where to find the Solr JAR fil