Hi, Our schema is identical except the version. In 3.x it's 1.1 and in 4.x it's 1.5.
Also in solrconfig.xml we have no lucene version for 3.x (so it's using 2_4 i believe) and in 4.x we fixed it to 4_4. Thanks On Sep 6, 2013 3:34 PM, "Chris Hostetter" <hossman_luc...@fucit.org> wrote: > > : I'm migrating from 3.x to 4.x and I'm running some queries to verify that > : everything works like before. I've found however that the query "galaxy > s3" > : is giving much less results. In 3.x numFound=1628, in 4.x numFound=70. > > is your entire schema 100% identical in both cases? > what is the luceneMatchVersion set to in your solrconfig.xml? > > > By the looks of your debug output, it appears that you are using > autoGeneratePhraseQueries="true" in 3x, but have it set to false in 4x -- > but the fieldType you posted here shows it set to false.... > > : <fieldtype name="text_pt" class="solr.TextField" > : positionIncrementGap="100" autoGeneratePhraseQueries="false"> > > ...i haven't tried to reproduce your specific situation, but that > configuration doesn't smell right compared with what you are showing for > the 3x output... > > : SOLR 3.x > : > : <str name="parsedquery">+(title_search_pt:galaxy > : title_search_pt:galax) +MultiPhraseQuery(title_search_pt:"(sii s3 s) > : 3")</str> > : > : SOLR 4.x > : > : <str name="parsedquery">+((title_search_pt:galaxy > : title_search_pt:galax)/no_coord) +(+title_search_pt:sii > : +title_search_pt:s3 +title_search_pt:s +title_search_pt:3)/str> > > > -Hoss >