CF 2023 Bug or Solr Configuration Problem
Greetings All. After reviewing my testing below I would VERY, VERY much appreciate any suggestions as to why searches against a collection using a phrase are not working properly, in this case the criteria field = "tribology friction".
This issue arises as a function of my attempts to solve a CFsearch problem in another thread.
The following is a list of test which were done comparing the results of the Solr Admin tool (SAT), production server (PS), development server application code (DSAC) & deveopment server stand alone script (DSSA) against the same data. Note: the production server is running CF 4.51 & the development server is running CF 2023.
The testing searched for the words "tribology" and "friction" using 3 different criteria as described below. Note: For those of you who are curious, tribology is the science of bearing wear.
Criteria SAT PS DSAC DSSA
"tribology" OR "friction" 333 328 332 333
"tribology" AND "friction" 19 19 17 19
"tribology friction" 2 2 332 333
As you can see the results of the search against the phrase "tribology friction" is correct in our producton environment, but is way high in the development environment. It appears that the CF 20203 is treating the phrase as if it were an "OR" search.
Note: I'm not really concerned where results differ by 2 to 4 hits betweem the production server & the deveopment server. Verity almost certainly treats searching collections differently (punctuation, specialty characters or whatever).
To me these results suggests that either there is a bug in CF 2023 or perhaps a Solr setting needs attention. I tend to believe a setting is not the issue as I left the default Solr installtion intact except for raising the minimim & maximum amount of memory for Solr as I have seen the Adobe CF Launcher App gobble up over 6000 M/B during testing.
Here is the stand alone script I used as a test to search the collection independent of the other CF code in our application.
****************************
<cfsearch
name = "ResTest"
collection = "Resumes"
criteria = "XXXXXX" <----- varied as shown earlier in this post
type="standard"
startrow=1
maxrows = "20000">
<cfoutput>
url=#ResTest.url#<br>
key=#ResTest.key#<br>
recordcount=#ResTest.recordcount#<br>
currentrow=#ResTest.currentrow#<br>
columnlist=#ResTest.columnlist#<br>
recordssearched=#ResTest.recordssearched#<br>
cfdump var = "#ResTest#">
</cfoutput>
****************************
