TRUNK-2999 Investigate replacing concept word with full text search

Oh cool!


On Thu, Jul 17, 2014 at 3:38 PM, Rafal Korytkowski <notifications@github.com
> wrote:

> In api/src/main/java/org/openmrs/api/impl/ConceptServiceImpl.java:
>
> >  		Integer i = conceptIdStart;
> >  		ConceptService cs = Context.getConceptService();
> >  		while (i++ <= conceptIdEnd) {
> > -			updateConceptWord(cs.getConcept(i));
> > +			Concept concept = cs.getConcept(i);
>
> This method should be deprecated... It's not needed anymore. It was used
> by the update concept words task, which is removed now. Hibernate handles
> keeping the lucene index in sync with the database and we only need to
> update the index explicitly if we do any changes to how entities are
> indexed or modify database directly without calling Hibernate.
>
> —
> Reply to this email directly or view it on GitHub
> <https://github.com/openmrs/openmrs-core/pull/958/files#r15054076>.
>



-- 
If we keep uppermost in our minds the unkind and unjust acts of others, we
shall find it impossible to love them as Christ has loved us; but if our
thoughts dwell upon the wondrous love and pity of Christ for us, the same
spirit will flow out to others.