« Return to Thread: [ANN] Searchable Plugin 0.4 ships
Computed constants.
Hi Maurice, congratulations for the final release!
I still had lots of errors from the SVN version of a couple of days ago,
but I'm gonna try this one.
I was reading the updated documentation and I found the section about
constants.
I understand that you can index "custom" mappings to a domain instance,
that's very useful.
What I was wondering is whether those constant mappings could be
computed. That is, computed out of other properties (for example a
concatenation of two properties, or maybe a substring of one of them
plus the temperature in Madagascar at that time... some crazy example :-))
Maybe it could accept a clousre, like:
constant name: "myComputed" , value: {
"bla"+tempMadagascar+(someProp*3) }
I guess those constants are indexed when the object is saved/updated, so
all the values are already there.
BarZ
Maurice Nicholson wrote:
> Searchable Plugin 0.4 is finally here!
>
> I guess most of you have been using the 0.4-SNAPSHOT for a while, so
> here's what's happened recently:
>
> * Upgraded to Compass 1.2.1 which includes Lucene 2.2
> * Highlighting:
> http://grails.org/Searchable+Plugin+-+Searching#SearchablePlugin-Searching-Highlighting
> * Term Frequencies:
> http://grails.org/Searchable+Plugin+-+Searching#SearchablePlugin-Searching-termFreqs
> * The start of a mapping DSL:
> http://grails.org/Searchable+Plugin+-+Mapping#SearchablePlugin-Mapping-MappingDSL
> * Better default mapping of embedded domain classes:
> http://grails.org/Searchable+Plugin+-+Mapping#SearchablePlugin-Mapping-Defaultmappingrules
>
> Cheers,
> Maurice
>
---------------------------------------------------------------------
To unsubscribe from this list, please visit:
http://xircles.codehaus.org/manage_email
« Return to Thread: [ANN] Searchable Plugin 0.4 ships
| Free embeddable forum powered by Nabble | Forum Help |