I think you are not using default field, but rather eDismax field
definitions. Still you seem to be matching on alltext anyway.

What's the field definition? Did you check the index content with Maple or
with Admin Schema field content?

Regards,
   Alex


On 3 Mar 2017 5:07 PM, "nbosecker" <nbosec...@gmail.com> wrote:

I've got a confusing situation related to copyFields and search.

In my schema.xml, I have these copyFields:
<copyField source="body" dest="alltext" />
<copyField source="name" dest="alltext" />
<copyField source="folder" dest="alltext" />
<copyField source="purpose" dest="alltext" />
<copyField source="path" dest="alltext" />
<copyField source="domain" dest="alltext" />
<copyField source="hostapplication" dest="alltext" />
<copyField source="author" dest="alltext" />
<copyField source="childbody" dest="alltext" />
<copyField source="components" dest="alltext" />
<copyField source="parameters" dest="alltext" />

and a defaultSearchField to the 'alltext' copyField:
<defaultSearchField>alltext</defaultSearchField>


In my index, this document with all these mapped fields - nothing to note
except that the word "*simplex*" is *NOT IN ANY OF THESE* :
        "path": "Components/Analysis and Statistics/R
Statistics/Experimental Design/Design Mixture Experiment",
        "folder": "Components/Analysis and Statistics/R
Statistics/Experimental Design",
        "name": "Design Mixture Experiment",
        "hostapplication": "Pro Client",
        "purpose": "Designs a mixture (formulation) experiment using
Pipeline Pilot or R (DOE)",
        "parameters": [
          "Design Type",
          "Ingredient Sum",
          "Number of Levels",
          "Centroid Dimension",
          "Ignore Properties",
          "Ingredient 1 Min Level",
          "Ingredient 1 Max Level",
          "Ingredient 2 Min Level",
          "Ingredient 2 Max Level",
          "Ingredient 3 Min Level",
          "Ingredient 3 Max Level",
          "Ingredient 4 Min Level",
          "Ingredient 4 Max Level",
          "Ingredient 5 Min Level",
          "Ingredient 5 Max Level",
          "Ingredient 6 Min Level",
          "Ingredient 6 Max Level",
          "Factors",
          "Ingredient 1",
          "Ingredient 2",
          "Ingredient 3",
          "Ingredient 4",
          "Ingredient 5",
          "Ingredient 6",
          "Constraints",
          "Constraint 1",
          "Constraint 2",
          "Filter Points",
          "Fill",
          "Factors from Input Data"
        ],
        "components": [
          "Custom Filter (PilotScript)",
          "Custom Manipulator (PilotScript)",
          "Custom Manipulator (PilotScript)",
          "Custom Manipulator (PilotScript)",
          "Unmerge Data",
          "Custom Filter (PilotScript)",
          "Custom Filter (PilotScript)",
          "Custom Filter (PilotScript)",
          "Custom Manipulator (PilotScript)",
          "R Custom Script",
          "Custom Manipulator (PilotScript)"
        ],
        "domain": [
          "Statistics"
        ],
        "author": "BIOVIA"
      }

When I perform a debug search on "*simplex*" in the Solr Admin, it finds
this document as a match to the alltext copyField. *BUT HOW?*:
"debug": {
    "rawquerystring": "simplex",
    "querystring": "simplex",
    "parsedquery": "(+DisjunctionMaxQuery((name:simplex^10.0 |
folder:simplex^5.0 | purpose:simplex^3.0 | alltext:simplex)~0.5)
())/no_coord",
    "parsedquery_toString": "+(name:simplex^10.0 | folder:simplex^5.0 |
purpose:simplex^3.0 | alltext:simplex)~0.5 ()",
    "explain": {
      "Components/Analysis and Statistics/R Statistics/Experimental
Design/Design Mixture Experiment": "\n0.039487615 = (MATCH) sum of:\n
0.039487615 = (MATCH) max plus 0.5 times others of:\n    0.039487615 =
(MATCH) weight(alltext:simplex in 2191) [DefaultSimilarity], result of:\n
0.039487615 = score(doc=2191,freq=24.0 = termFreq=24.0\n), product of:\n
0.07139119 = queryWeight, product of:\n          7.225878 = idf(docFreq=11,
maxDocs=6068)\n          0.009879933 = queryNorm\n        0.5531161 =
fieldWeight in 2191, product of:\n          4.8989797 = tf(freq=24.0), with
freq of:\n            24.0 = termFreq=24.0\n          7.225878 =
idf(docFreq=11, maxDocs=6068)\n          0.015625 = fieldNorm(doc=2191)\n"
    },
    "QParser": "ExtendedDismaxQParser",
....


I'm probably missing something obvious, help!



--
View this message in context: http://lucene.472066.n3.
nabble.com/copyField-match-but-how-tp4323327.html
Sent from the Solr - User mailing list archive at Nabble.com.

Reply via email to