Thanks. I just copied the config file under solr/solr-8.6.0/server/solr/configsets/_default and made minor changes. Tried the console - I think SKMF is doing it.
Regards, Jayadevan On Mon, Aug 24, 2020 at 5:45 PM Dominique Bejean <dominique.bej...@eolya.fr> wrote: > Hi, > > We need to know how is analyzed your catch_all field at index and search > time. > > I think you are using a stemming filter and "apache" is stemmed as "apach". > So "apache" and "apach" match the document and not "apac". > You can use the console in order to see how terms are removed or > transformed by each filter of the analysis chain for a field or a > fieldtype. > > Regards > > Dominique > > > Le lun. 24 août 2020 à 12:01, Jayadevan Maymala <jayade...@ftltechsys.com> > a écrit : > > > Hi all, > > I am learning the basics of Solr querying and am not able to figure out > > something. The first query which searches for 'apac' fetches no > documents. > > The second one which searches for 'apach' , i.e. add h - one more > > character, fetches a document. > > > > curl -X GET " > > > > > http://localhost:8983/solr/search_twitter/select?q=apac&df=catch_all&fl=catch_all,score > > " > > { > > "responseHeader":{ > > "status":0, > > "QTime":0, > > "params":{ > > "q":"apac", > > "df":"catch_all", > > "fl":"catch_all,score"}}, > > > > > > > "response":{"numFound":0,"start":0,"maxScore":0.0,"numFoundExact":true,"docs":[] > > }} > > > > > > curl -X GET " > > > > > http://localhost:8983/solr/search_twitter/select?q=apach&df=catch_all&fl=catch_all,score > > " > > { > > "responseHeader":{ > > "status":0, > > "QTime":0, > > "params":{ > > "q":"apach", > > "df":"catch_all", > > "fl":"catch_all,score"}}, > > > > > > > "response":{"numFound":1,"start":0,"maxScore":0.13076457,"numFoundExact":true,"docs":[ > > { > > "catch_all":["apache", > > "Happy searching!", > > "https://lucene.apache.org/solr", > > "https://lucene.apache.org"], > > "score":0.13076457}] > > }} > > > > Field definition - > > "name":"catch_all", > > "type":"text_en", > > "multiValued":true > > > > > > Neither apac or apach is there in the data. > > > > Regards, > > Jayadevan > > >