Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Which field the result comes from? #241

Closed
lucasradix opened this issue Mar 1, 2018 · 1 comment
Closed

Which field the result comes from? #241

lucasradix opened this issue Mar 1, 2018 · 1 comment

Comments

@lucasradix
Copy link

I have a model with three textFields: title, description and sideText.
One of the objects of this model is filled as:
title = 'Hello'
description = 'Hello everybody'
sideText = 'Welcome'

When I search for 'Hello', my result array has only one object with the 'content' attribute containing 'Hello Hello Everybody' (concatenation of title + description'). How can I get which model fields 'Hello' was found? That is, is there an array attribute, or something like this, in the result object containing 'title' and 'description'?

Thank you.

@etianen
Copy link
Owner

etianen commented Mar 2, 2018 via email

@etianen etianen closed this as completed Feb 5, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants