This commit is contained in:
anupsawant 2011-06-01 05:30:53 +00:00
parent 83d082ca23
commit 76d0932c58
3 changed files with 6 additions and 4 deletions

View file

@ -503,7 +503,7 @@
<field name="THUMBNAIL" type="string" indexed="true" stored="true"/>
<field name="targetInfo" type="text" indexed="true" stored="false" multiValued="true"/>
<field name="BETA" type="float" indexed="true" stored="true" multiValued="false"/>
<!-- <field name="BETA" type="float" indexed="true" stored="true" multiValued="false"/>
<field name="PHI" type="float" indexed="true" stored="true" multiValued="false"/>
<field name="ADJACENT_NODES" type="string" indexed="true" stored="true" multiValued="true"/> -->
@ -582,7 +582,7 @@
<uniqueKey>DocId</uniqueKey>
<!-- field for the QueryParser to use when an explicit fieldname is absent -->
<defaultSearchField>ALLTEXT</defaultSearchField>
<!-- <defaultSearchField>ALLTEXT</defaultSearchField> -->
<!-- SolrQueryParser configuration: defaultOperator="AND|OR" -->
<solrQueryParser defaultOperator="AND"/>

View file

@ -711,7 +711,8 @@
<str name="qf">nameRaw nameLowercase ALLTEXT ALLTEXTUNSTEMMED ALLTEXT_PHONETIC NAME_PHONETIC nameUnstemmed nameStemmed targetInfo</str>
<str name="pf">targetInfo</str>
<str name="echoParams">explicit</str>
<str name="ps">1</str>
<str name="ps">2</str>
<str name="qs">2</str>
<int name="rows">10</int>
</lst>
<!-- In addition to defaults, "appends" params can be specified

View file

@ -279,7 +279,7 @@ public class IndividualToSolrDocument implements Obj2DocIface {
String alltext = allTextValue.toString();
doc.addField(term.ALLTEXT, alltext);
doc.addField(term.ALLTEXTUNSTEMMED, alltext);
doc.addField(term.ALLTEXT_PHONETIC, alltext);
doc.addField(term.ALLTEXT_PHONETIC, alltext,PHONETIC_BOOST);
//run the document modifiers
if( documentModifiers != null ){
@ -357,6 +357,7 @@ public class IndividualToSolrDocument implements Obj2DocIface {
this.contextNodeClassNames.add("PostdoctoralPosition");
this.contextNodeClassNames.add("AdvisingRelationship");
this.contextNodeClassNames.add("Authorship");
this.contextNodeClassNames.add("AcademicDegree");
}