Skip to content

Commit 1e822d1

Browse files
committed
SST3
1 parent c40db3e commit 1e822d1

File tree

2 files changed

+15
-14
lines changed

2 files changed

+15
-14
lines changed

exampledocs/names.json

+10-12
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,12 @@
1-
{
2-
"add": {
3-
"doc": {
4-
"id": "1",
5-
"name_text": ["William John Dueber", "David Thomas Jones"]
6-
}
1+
[
2+
{
3+
"id": "1",
4+
"title": "The Monkees",
5+
"name_text": ["Peter Tork", "Mike Nesmith", "Micky Dolenz", "Davy Thomas Jones"]
76
},
8-
"add": {
9-
"doc": {
10-
"id": 2,
11-
"name_text": ["Mike Dueber", "William Penn"]
12-
}
7+
{
8+
"id": "2",
9+
"title": "Heros of the Wild West",
10+
"name_text": ["Buck Jones", "Davy Crockett"]
1311
}
14-
}
12+
]

solr/conf/solrconfig.xml

+5-2
Original file line numberDiff line numberDiff line change
@@ -712,10 +712,13 @@
712712
<str name="echoParams">explicit</str>
713713
<str name="q">_query_:"{!edismax qf=$fields mm=$mymm v=$qwords bq=$boostForAll}"</str>
714714
<str name='mymm'>0%</str>
715-
<str name='boostForAll'>_query_:"{!edismax qf=$fields mm='100%' v=$qwords }"^5</str>
715+
<str name="qwordsphrase">"JunkThatWillNEverShowUpInAMillionFreakinYears"</str>
716+
<str name='boostForAll'>
717+
_query_:"{!edismax qf=$fields mm='100%' v=$qwords }"^5 OR
718+
_query_:"{!dismax qf=$fields mm='100%' v=$qwordsphrase qs='999'}"^5
719+
</str>
716720
</lst>
717721
</requestHandler>
718-
719722

720723

721724
<!-- SearchHandler

0 commit comments

Comments
 (0)