Re: full name free text search problem
Hi Deepak, Look at the score of your response results. You can do this in Debug mode. Rahul. On Wed, Jan 31, 2018 at 4:18 AM, Deepak Udapudi wrote: > Hi all, > > I have the below scenario in full name search that we are trying to > implement. > > Solr configuration :- > > fieldType name="keywords_text" class="solr.TextField"> > > > > > >delimiter="/"/> > > > > > > multiValued="true" /> > > > > > > Scenario :- > > Solr configuration has office name, facility name and the full name as > displayed above. > We are searching based on the input name with the records sorts by > distance. > > Problem :- > > I am getting the records matching the full name sorted by distance. > If the input string(for ex Dae Kim) is provided, I am getting the records > other than Dae Kim(for ex Rodney Kim) too at the top of the search results > including Dae Kim > just before the next Dae Kim because Kim is matching with all the fields > like full name, facility name and the office name. So, the hit frequency is > high and it's > distance is less compared to the next Dae Kim in the search results with > higher distance. > > Expected results :- > > I want to see all the records for Dae Kim to be seen at the top of the > search results sorted by distance without any irrelevant results. > > Queries :- > > What is the fix for the above problem if anyone has faced it? > How do I handle the problem? > > Any inputs would be highly appreciated. > > Thanks in advance. > > Regards, > Deepak > > > > > The information contained in this email message and any attachments is > confidential and intended only for the addressee(s). If you are not an > addressee, you may not copy or disclose the information, or act upon it, > and you should delete it entirely from your email system. Please notify the > sender that you received this email in error. > -- "Learning is not necessary, neither is survival"
DataImportHandler not able to Import a Custom XML - documents array is EMPTY
Hi, Struggling to Import an XML containing an XSL transformation from dataImport. Do we need to run in Cloud mode for this ? When I start solr in DIH mode, my other Cores are not visible. 1) My SolrConfig.XML has this: rahul-data-config.xml 2) My rahul-data-config.xml looks like this: http://localhost/xml/1998.1.651698.xml"; transformer="RegexTransformer,DateFormatTransformer" > 3) My XML looks like this: Audio, Navigation, Monitors, Alarms, SRS B 65 16 98 Service Engineering February 1999 4) My XSL looks like this: I am hosting the XML and XSL on XAMPP (Apache) server. 5) My debug response from dataimport looks like this: { "responseHeader": { "status": 0, "QTime": 54 }, "initArgs": [ "defaults", [ "config", "rahul-data-config.xml" ] ], "command": "full-import", "mode": "debug", "documents": [], "verbose-output": [], "status": "idle", "importResponse": "", "statusMessages": { "Total Requests made to DataSource": "1", "Total Rows Fetched": "0", "Total Documents Processed": "0", "Total Documents Skipped": "0", "Full Dump Started": "2018-01-31 04:35:02", "": "Indexing completed. Added/Updated: 0 documents. Deleted 0 documents.", "Committed": "2018-01-31 04:35:02", "Time taken": "0:0:0.33" } } Please note that documents is an empty array. What am I doing wrong ? Best Regards, Rahul.