Home | About | Sematext search-lucene.com search-hadoop.com
 Search Lucene and all its subprojects:

Switch to Plain View
Lucene, mail # dev - writeSolrDocument... Map pseudoFields?


Copy link to this message
-
writeSolrDocument... Map pseudoFields?
Ryan McKinley 2011-02-27, 22:42
I'm back to looking at how we can cleanly add more fields to outgoing
documents...

When I poke around the code, now, I see that TextRespnseWriter now has
some fields that look like they should solve SOLR-1566:

writeSolrDocument(String name, SolrDocument doc, Set<String>
returnFields, Map pseudoFields)
writeDocList(String name, DocList ids, Set<String> fields, Map otherFields)
writeSolrDocumentList(String name, SolrDocumentList docs, Set<String>
fields, Map otherFields)

What are Map pseudoFields and Map otherFields?  How are they used?
IIUC, this would just solve SOLR-1566 for things that use
TextResponseWriter, but not BinaryResponseWriters.

Anyone have any insite on this?

thanks
ryan

---------------------------------------------------------------------
+
Lance Norskog 2011-02-28, 00:23
+
Yonik Seeley 2011-03-01, 03:28