solr 4.2.1 spellcheck strange results
Hi I am querying the solr server spellcheck and the results I get back although at first glance look ok it seems like solr is replying back as if it made the search with the wrong key. so while I query the server with the word "καρδυα" Solr is responding me as if it was querying the database with the word "καρδυ" eliminating the last char --- --- Ideally, Solr should properly indicate that the suggestions correspond with "καρδυα" rather than "καρδυ". Is there a way to make solr respond with the original search word from the query in it's responce, instead of the one that is getting the hits from ?? Regars, Harry here is the complete solr responce --- 0 23 true *,score 0 καρδυα καρδυα title_short^750 title_full_unstemmed^600 title_full^400 title^500 title_alt^200 title_new^100 series^50 series2^30 author^300 author_fuller^150 contents^10 topic_unstemmed^550 topic^500 geographic^300 genre^300 allfields_unstemmed^10 fulltext_unstemmed^10 allfields fulltext isbn issn basicSpell arrarr dismax xml 0 3 0 6 0 καρδ 5 καρδι 3 καρυ 1 false
special TItle Sorting etc
I am trying to sort by title field asc or desc in a manner that is influenced by the stopwords list of a language, for Instance I would like the title "The Book", and "A Wallet" when sorted appear as title - The Book A Wallet but while I only managed to get my head smashed on the solr wall, while I had NO SUCCESS what-so-ever ! So far I've tried to do this from Solr by various filedType definitions and either copy the contents of title to BIB_title_sort or via a dynamicField with a suffix or a prefix, or even import the title straight into the field. Here is my last FAILED attempt to do that sortMissingLast="true" omitNorms="true"> generateWordParts="1" generateNumberParts="1" catenateWords="1" catenateNumbers="1" catenateAll="0" splitOnCaseChange="1"/> words="lang/stopwords_el.txt,lang/stopwords_en.txt" enablePositionIncrements="true"/> My question is Is there a possible way to do that in SOLR? OR Do I HAVE TO remove the STOP WORDS and so on, during the IMPORT process, by only writing custom scripts?? Thanks in advance, Harry
Spellchecker in solr + marc 3.5.0
Hi all, I am using solrmarc + Vufind to index marc records. solr version is 3.5.0 I am having issues trying to make solrmarc to suggest possible alternative spellings when querying the database BUT using a non Latin Based alphabet. Quering *ounix* suggests *unix* alright however when querying in say Greek alphabet words no suggestions are returned. Thanks in advance for your suggestions Regards, Harry.