Project

General

Profile

Revision 94ff3012

ID94ff3012bbe60c8a4ea3dab580b44589b65feec5
Parent cd3908b7
Child 0f0f606a

Added by Andreas Müller over 8 years ago

renaming CategoricalData.states -> stateData, update Lucene search (#2923)

View differences:

cdmlib-services/src/main/java/eu/etaxonomy/cdm/api/service/TaxonServiceImpl.java
1504 1504

  
1505 1505
        // --- TermBase fields - by representation ----
1506 1506
        // state field from CategoricalData
1507
        textQuery.add(queryFactory.newDefinedTermQuery("states.state", queryString, languages), Occur.SHOULD);
1507
        textQuery.add(queryFactory.newDefinedTermQuery("stateData.state", queryString, languages), Occur.SHOULD);
1508 1508

  
1509 1509
        // state field from CategoricalData
1510
        textQuery.add(queryFactory.newDefinedTermQuery("states.modifyingText", queryString, languages), Occur.SHOULD);
1510
        textQuery.add(queryFactory.newDefinedTermQuery("stateData.modifyingText", queryString, languages), Occur.SHOULD);
1511 1511

  
1512 1512
        // area field from Distribution
1513 1513
        textQuery.add(queryFactory.newDefinedTermQuery("area", queryString, languages), Occur.SHOULD);

Also available in: Unified diff

Add picture from clipboard (Maximum size: 40 MB)