[hibernate-issues] [Hibernate-JIRA] Commented: (HSEARCH-472) Runtime creation of new shards

Dobes Vandermeer (JIRA) noreply at atlassian.com
Fri Oct 29 18:29:47 EDT 2010


    [ http://opensource.atlassian.com/projects/hibernate/browse/HSEARCH-472?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=38948#action_38948 ] 

Dobes Vandermeer commented on HSEARCH-472:
------------------------------------------

@Emmanuel,

Currently hibernate has a way of querying a collection, like org.hibernate.Session.createFilter(Object, String), but this uses an SQL query.  Imagine if you annotated a persistent collection to add an FTS index to it and then use FullTextSession.createFilter() to query that collection.  The sharding would be based on the PK of the parent entity.  This would nicely tackle my use case and have some integration with the existing systems.  That said, it may run into complications later ... 

> Runtime creation of new shards
> ------------------------------
>
>                 Key: HSEARCH-472
>                 URL: http://opensource.atlassian.com/projects/hibernate/browse/HSEARCH-472
>             Project: Hibernate Search
>          Issue Type: New Feature
>          Components: query
>    Affects Versions: 3.2.0.Beta1
>            Reporter: Dobes Vandermeer
>            Assignee: Emmanuel Bernard
>            Priority: Minor
>             Fix For: 3.3.0.CR1
>
>
> Hibernate Search's shard support has added the ability to select a shard based on a parameter of the query; however, you must use a fixed number of shards.  In order to best support our use case originally reported in http://opensource.atlassian.com/projects/hibernate/browse/HSEARCH-470 it would be necessary to add support for dynamically added shards at runtime.
> Also related: http://opensource.atlassian.com/projects/hibernate/browse/HSEARCH-251 and http://www.opensubscriber.com/message/hibernate-dev@lists.jboss.org/9770383.html

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://opensource.atlassian.com/projects/hibernate/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        


More information about the hibernate-issues mailing list