Stanislav Muhametsin a écrit :
Quoting Niclas Hedhman <[email protected]>:
And queries in Qi4j doesn't intend to rebuild the Entity, only to
produce an Identity which is then used on the Entity Store. Therefor,
by marking properties @Queryable(false) on everything you don't want
to query, you can achieve great improvements in indexing speed.
Hmm, I wonder if I remembered to take @Queryable annotation into
account when writing SQLIndexing. Shouldn't be that hard to make it
ignore the non-queryable properties tho...
Yes you did :-)
The three usable Indexing extension (RDF, SQL and ElasticSearch) do take
@Queryable into account.
@Queryable( false ) is very important as you often can drasticaly reduce
data that goes into indices. It's also a good idea to mark sensitive
data as @Queryable( false ).
/Paul
_______________________________________________
qi4j-dev mailing list
[email protected]
http://lists.ops4j.org/mailman/listinfo/qi4j-dev