Update android distribution
This commit is contained in:
parent
6fd5aecec7
commit
65c4250ed3
|
@ -96,7 +96,7 @@ public class GenericClientExample {
|
||||||
.where(Patient.IDENTIFIER.exactly().systemAndIdentifier("system", "00001"))
|
.where(Patient.IDENTIFIER.exactly().systemAndIdentifier("system", "00001"))
|
||||||
.execute();
|
.execute();
|
||||||
|
|
||||||
// This will return true if the server responded with an HTTP 201 created,
|
// This will return Boolean.TRUE if the server responded with an HTTP 201 created,
|
||||||
// otherwise it will return null.
|
// otherwise it will return null.
|
||||||
Boolean created = outcome.getCreated();
|
Boolean created = outcome.getCreated();
|
||||||
|
|
||||||
|
|
|
@ -16,9 +16,10 @@
|
||||||
<directory>${project.basedir}/../hapi-fhir-android/target/</directory>
|
<directory>${project.basedir}/../hapi-fhir-android/target/</directory>
|
||||||
<outputDirectory>/</outputDirectory>
|
<outputDirectory>/</outputDirectory>
|
||||||
<includes>
|
<includes>
|
||||||
<include>hapi-fhir-android-${project.version}.jar</include>
|
|
||||||
<include>hapi-fhir-android-${project.version}-dstu.jar</include>
|
<include>hapi-fhir-android-${project.version}-dstu.jar</include>
|
||||||
|
<include>hapi-fhir-android-${project.version}-dstu-sources.jar</include>
|
||||||
<include>hapi-fhir-android-${project.version}-dstu2.jar</include>
|
<include>hapi-fhir-android-${project.version}-dstu2.jar</include>
|
||||||
|
<include>hapi-fhir-android-${project.version}-dstu2-sources.jar</include>
|
||||||
</includes>
|
</includes>
|
||||||
</fileSet>
|
</fileSet>
|
||||||
</fileSets>
|
</fileSets>
|
||||||
|
|
|
@ -237,9 +237,6 @@ public class FhirSearchDao extends BaseHapiFhirDao<IBaseResource> implements ISe
|
||||||
Set<String> terms = Sets.newHashSet();
|
Set<String> terms = Sets.newHashSet();
|
||||||
for (Iterator<Suggestion> iter = suggestions.iterator(); iter.hasNext(); ) {
|
for (Iterator<Suggestion> iter = suggestions.iterator(); iter.hasNext(); ) {
|
||||||
String nextTerm = iter.next().getTerm().toLowerCase();
|
String nextTerm = iter.next().getTerm().toLowerCase();
|
||||||
// if (nextTerm.contains("\n")) {
|
|
||||||
// iter.remove();
|
|
||||||
// } else
|
|
||||||
if (!terms.add(nextTerm)) {
|
if (!terms.add(nextTerm)) {
|
||||||
iter.remove();
|
iter.remove();
|
||||||
}
|
}
|
||||||
|
@ -311,7 +308,7 @@ public class FhirSearchDao extends BaseHapiFhirDao<IBaseResource> implements ISe
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
public String highlightTerm(String theOriginalText, TokenGroup theTokenGroup) {
|
public String highlightTerm(String theOriginalText, TokenGroup theTokenGroup) {
|
||||||
ourLog.info("{} Found {} with score {}", new Object[] {myAnalyzer, theOriginalText, theTokenGroup.getTotalScore()});
|
ourLog.debug("{} Found {} with score {}", new Object[] {myAnalyzer, theOriginalText, theTokenGroup.getTotalScore()});
|
||||||
if (theTokenGroup.getTotalScore() > 0) {
|
if (theTokenGroup.getTotalScore() > 0) {
|
||||||
float score = theTokenGroup.getTotalScore();
|
float score = theTokenGroup.getTotalScore();
|
||||||
if (theOriginalText.equalsIgnoreCase(myOriginalSearch)) {
|
if (theOriginalText.equalsIgnoreCase(myOriginalSearch)) {
|
||||||
|
|
|
@ -1,5 +1,25 @@
|
||||||
package ca.uhn.fhir.jpa.util;
|
package ca.uhn.fhir.jpa.util;
|
||||||
|
|
||||||
|
/*
|
||||||
|
* #%L
|
||||||
|
* HAPI FHIR JPA Server
|
||||||
|
* %%
|
||||||
|
* Copyright (C) 2014 - 2015 University Health Network
|
||||||
|
* %%
|
||||||
|
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||||
|
* you may not use this file except in compliance with the License.
|
||||||
|
* You may obtain a copy of the License at
|
||||||
|
*
|
||||||
|
* http://www.apache.org/licenses/LICENSE-2.0
|
||||||
|
*
|
||||||
|
* Unless required by applicable law or agreed to in writing, software
|
||||||
|
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||||
|
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||||
|
* See the License for the specific language governing permissions and
|
||||||
|
* limitations under the License.
|
||||||
|
* #L%
|
||||||
|
*/
|
||||||
|
|
||||||
public class ReindexFailureException extends RuntimeException {
|
public class ReindexFailureException extends RuntimeException {
|
||||||
private static final long serialVersionUID = 1L;
|
private static final long serialVersionUID = 1L;
|
||||||
|
|
||||||
|
|
|
@ -285,7 +285,7 @@
|
||||||
FHIR specification for more information on conditional creation.
|
FHIR specification for more information on conditional creation.
|
||||||
</p>
|
</p>
|
||||||
<macro name="snippet">
|
<macro name="snippet">
|
||||||
<param name="id" value="updateConditional"/>
|
<param name="id" value="createConditional"/>
|
||||||
<param name="file"
|
<param name="file"
|
||||||
value="examples/src/main/java/example/GenericClientExample.java"/>
|
value="examples/src/main/java/example/GenericClientExample.java"/>
|
||||||
</macro>
|
</macro>
|
||||||
|
|
Loading…
Reference in New Issue