Hello. Is there a field property like Solr's `stor...
# community-help
j
Hello. Is there a field property like Solr's
stored=true
where the field name can be a query param?
k
đź‘‹ All fields in a document are stored in Typesense. So the entire document is fetched in the search results by default.
j
Ok, thank you. I'll go back to my data team and see if we're actually making use of this Solr
stored=true
vs
indexed=true
params
c
it makes sense to store things you may never query - for example an image URL to display in search results. Otherwise you’d have to be looking those up in some other database to render the results
j
I think the URL example is actually great. I might not want to query the field value, but get the value by querying the field name. So the field name
brand_img_url
would be the query while the value would be the result. Not necessarily searching through the value itself. (I hope I'm understanding @CaptainCodeman’s example properly)
c
the URL would be the value, it’s unlikely to be something you’d ever query for itself (not sure you can say “don’t bother indexing this”) but you want it in the results to display so it needs to be stored in the doc to save looking it up elsewhere