Adding Media Field image path to Lucene Index #13032
Unanswered
mrpavlitzky
asked this question in
Q&A
Replies: 1 comment
-
i am also having the same problem. I have a lucene query with that schema { Person.Photo is Person Content Type - Photo Content Field (Media Field). But it's return null value because does not indexing. This is a big problem, how can i do this. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Hello there,
I'm working on a following use case:
I have pretty complex entities which combine many different fields and content parts. What I'd like is to have a kind of a card component on the frontend which shows only the name, short description, title and an image contained in the entity and list the cards on the page. What I want to avoid tho is querying all Documents on the page load since I don't need the 80% of the entities' content parts and fields while listing the cards.
For text fields I simply added them to the lucene index to retrieve them from there, but I struggle with finding a way of adding media path to index to retrieve it using a Razor helper. Is there a way to do that?
To extend on that discussion - is it even reasonable to try minimize the data flowing between db and server, by loading only fields necessary for the view model while using SQLite in production?
Beta Was this translation helpful? Give feedback.
All reactions