We are using /get handler to retrieve documents by id in our Java application (SolrJ)
I found that copied fields are missing in documents returned by /get handler but same documents returned by query contain copied (by schema) fields.
- Integration test project archive
- Managed schema file for SOLR
SOLR schema details:
- Unique field name "d_ida_s"
- Lowecase text type definition:
3. Copy field instruction sample:
ConcurrenceUserNamea_s is string type field and ConcurrenceUserNameu_lca_s is lower case text type field.
Integration test uploads document to SOLR server and makes 2 requests: one using /get rest point to fetch document by id and one using query <unique id field name>:<document id value>.
Document returned by /get rest, doesn't have copied fields while document returned by query, contains copied fields.