[hibernate-dev] Lucene: @Indexed -> @FullText
Emmanuel Bernard
emmanuel at hibernate.org
Wed Nov 8 10:04:13 EST 2006
A mapped class is Indexed and Searchable but both names are generic and
apply to the DB technology as well (this is what bother me actually).
@FullTextIndexedAndSearcheable is not an option ;-)
Ales Justin wrote:
>> no biggie, but neither name indicates "i'm searchable" to me ;)
>
> Totally agree.
>
> What about plain @Searchable?
>
> Rgds, Ales
>
>>
>> Indexed maybe, FullText not....FullTextIndexed ? that i can understand.
>>
>> /max
>>
>>> / I want to rename @Indexed to @FullText to mark a class as
>>> "searchable"
> />>/ The name is more appropriate to the context and less generic
> />>/
> />>/ @Entity
> />>/ @FullText(index="commerce")
> />>/ public class Order {
> />>/
> />>/ Anybody against or with a better name?
> />>/ _______________________________________________
> />>/ hibernate-dev mailing list
> />>/ hibernate-dev at lists.jboss.org <http://lists.jboss.org>
> <https://lists.jboss.org/mailman/listinfo/hibernate-dev>
> />>/ https://lists.jboss.org/mailman/listinfo/hibernate-dev
> /
>
> ------------------------------------------------------------------------
>
> _______________________________________________
> hibernate-dev mailing list
> hibernate-dev at lists.jboss.org
> https://lists.jboss.org/mailman/listinfo/hibernate-dev
>
More information about the hibernate-dev
mailing list