[hibernate-issues] [Hibernate-JIRA] Commented: (HSEARCH-80) Create a @Text annotation for default searches with Lucene

Emmanuel Bernard (JIRA) noreply at atlassian.com
Mon Jun 18 10:18:52 EDT 2007


    [ http://opensource.atlassian.com/projects/hibernate/browse/HSEARCH-80?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_27275 ] 

Emmanuel Bernard commented on HSEARCH-80:
-----------------------------------------

Hum I don't like this idea at all. Usually different properties should be kept in different fields so that you can apply different boost values at query time. MultiFieldQueryParser specifically allow that.

note that you can use the same field name @Field(name="text") on several properties if you want it your way.

> Create a @Text annotation for default searches with Lucene
> ----------------------------------------------------------
>
>                 Key: HSEARCH-80
>                 URL: http://opensource.atlassian.com/projects/hibernate/browse/HSEARCH-80
>             Project: Hibernate Search
>          Issue Type: New Feature
>          Components: mapping, query
>    Affects Versions: 3.0.0.beta3
>            Reporter: Darren Bell
>
> Lucene's default term is text.  If you do not specify a term, this will be used.  It would be useful in hibernate search to be annotated, so that they can be combined into the single term text.  We could then created a text field that contains the content from others.

-- 
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