[field_]search.formats << :yaml

9 views
Skip to first unread message

Atastor

unread,
Sep 5, 2011, 4:48:35 AM9/5/11
to actives...@googlegroups.com
Can somebody explain to me the benefits of the various search-formats? E.g., what effect has

...
conf.field_search.formats << :yaml
...

What can I do with searching, what I couldn't do without?

Thanks
Michael

Sergio Cambra .:: entreCables S.L. ::.

unread,
Sep 5, 2011, 5:48:49 AM9/5/11
to actives...@googlegroups.com

yaml, xml and json formats are usually used for APIs or exporting. If you
can't see the benefit of adding a format probably you don't need it.


--
Sergio Cambra .:: entreCables S.L. ::.
Mariana Pineda 23, 50.018 Zaragoza
T) 902 021 404 F) 976 52 98 07 E) ser...@entrecables.com

Atastor

unread,
Sep 5, 2011, 6:35:29 AM9/5/11
to actives...@googlegroups.com
Oh, I am actively using them for exporting. But I thought, search.formats would influence the way, the search itself is performed, or the way how the search criteria are given or give some additional information about the data to be searched through.

Thanks
Michael

Sergio Cambra .:: entreCables S.L. ::.

unread,
Sep 5, 2011, 6:55:29 AM9/5/11
to actives...@googlegroups.com
On Lunes, 5 de Septiembre de 2011 12:35:29 Atastor escribió:
> Oh, I am actively using them for *exporting*. But I thought, search.formats

> would influence the way, the search itself is performed, or the way how the
> search criteria are given or give some additional information about the
> data to be searched through.
>
> Thanks
> Michael

<action>.formats add formats to respond_to method

Reply all
Reply to author
Forward
0 new messages