Daniel Papasian wrote:
Norberto Meijome wrote:
Thanks Yonik. ok, that matches what I've seen - if i know the actual
name of the field I'm after, I can use it in a query it, but i can't
use the dynamic_field_name_* (with wildcard) in the config.
Is adding support for this something that is desirable / needed
(doable??) , and is it being worked on ?
You can use a wildcard with copyFrom to copy the dynamic fields that
match the pattern to another field that you can then query on. It seems
like that would cover your needs, no?
this is biting me right now and i don't understand how to specify the
copyFrom to do what i want.
i have a dynamic field declaration like:
<dynamicField name="*_t" type="text" indexed="true" stored="true"/>
in the documents that i'm adding i am specifying location_t and group_t,
for example, although i may decide to add more later - obviously that
seems like the ideal use case for the dynamicField. however i cannot
search these fields unless i specify them explicitly
(q=location_t:something) and it doesn't work with dismax.
i want all fields searchable, otherwise why would i bother with
indexed="true" in the dynamicField?
how do i use copyFrom to search location_t, group_t and any other _t i
might decide to add later?
-jsd-