FW: Complex boost statement

2014-10-17 Thread Corey Gerhardt
Apparently I need to a long holiday so that I can interpret the documentation correctly. if(and(exists(query({!v=BUS_CITY:regina})),not(BUS_IS_TOLL_FREE)),500,1) -Original Message- From: Corey Gerhardt [mailto:corey.gerha...@directwest.com] Sent: October-16-14 4:11 PM To: Solr User

Complex boost statement

2014-10-16 Thread Corey Gerhardt
Edismax, solrnet I'm thinking that solrnet is going to be my problem due to I can only sent one boost parameter. Is it possible to have a boost value: if(exists(query({!v=BUS_CITY:regina}))(BUS_IS_NEARBY),20,1) Thanks, Corey

Combine boosts

2014-10-15 Thread Corey Gerhardt
Using Edismax. Is it possible to have multiple functions in a boost? For example boost = (if(not(BUS_IS_TOLL_FREE),log(10),product(log(10),0.1))) if(exists(query({!v=BUS_CITY:saskatoon})),20,1) Thanks, Corey

RE: Combine boosts

2014-10-15 Thread Corey Gerhardt
I realized the problem is my code. A person can send multiple boost parameters. I have a quirk in that I'm using solrnet but can probably find a work around. Corey -Original Message- From: Corey Gerhardt [mailto:corey.gerha...@directwest.com] Sent: October-15-14 11:34 AM To: Solr

Business Name spell check

2014-08-27 Thread Corey Gerhardt
Sorry to keep beating this to death. I could be looking for perfection which isn't possible. I'm trying to spell check the user term C Wishes to collate to B Wishes. If I use a tokenizer on the spell check field which splits c wishes into 2 tokens then there are no suggestions for c.

Spell field type suggestion for business names

2014-08-21 Thread Corey Gerhardt
Solr 4.8.1 I'm using the DirectSolrSpellChecker class with str name=fieldspell/str. int name=minPrefix1/int float name=thresholdTokenFrequency1/float The field type definition for the field spell is fieldType class=solr.TextField name=textSpell2 positionIncrementGap=100 analyzer

RE: Spell field type suggestion for business names

2014-08-21 Thread Corey Gerhardt
I should also mention that I havestr name=maxCollationTries500/str just to see if it's possible to get a collation value. -Original Message- From: Corey Gerhardt [mailto:corey.gerha...@directwest.com] Sent: August-21-14 11:54 AM To: Solr User List Subject: Spell field type

RE: Spell field type suggestion for business names

2014-08-21 Thread Corey Gerhardt
/ filter class=solr.LowerCaseFilterFactory/ filter class=solr.RemoveDuplicatesTokenFilterFactory/ /analyzer /fieldType -Original Message- From: Corey Gerhardt [mailto:corey.gerha...@directwest.com] Sent: August-21-14 11:54 AM To: Solr User List Subject: Spell field type

Business Name Collation

2014-08-20 Thread Corey Gerhardt
Solr 4.8.1 Correct value: Wardell F E B Dr Just wondering if anyone can see an issue with my spellchecker settings. There is no collation value and I'm hoping that someone can explain why. lst name=spellchecker str name=classnameorg.apache.solr.spelling.DirectSolrSpellChecker/str

RE: Spellchecking suggestions won't collate

2014-08-20 Thread Corey Gerhardt
- From: Corey Gerhardt [mailto:corey.gerha...@directwest.com] Sent: Friday, August 15, 2014 3:21 PM To: Solr User List Subject: Spellchecking suggestions won't collate It must be Friday. I can't figure out why there is no collation value: { responseHeader:{ status:0, QTime:31

RE: Business Name Collation

2014-08-20 Thread Corey Gerhardt
I'm going to reply to my own question. After recalling a previous email from James Dyer, I know the answer. -Original Message- From: Corey Gerhardt [mailto:corey.gerha...@directwest.com] Sent: August-20-14 9:54 AM To: Solr User List Subject: Business Name Collation Solr 4.8.1

Spellchecking suggestions won't collate

2014-08-15 Thread Corey Gerhardt
It must be Friday. I can't figure out why there is no collation value: { responseHeader:{ status:0, QTime:31, params:{ spellcheck:on, spellcheck.collateParam.qf:BUS_BUSINESS_NAME, spellcheck.maxResultsForSuggest:5, spellcheck.maxCollations:3,

Spell check collation

2014-08-14 Thread Corey Gerhardt
Solr 4.6 Current settings for my handler: str name=defTypeedismax/str str name=spellcheck.maxResultsForSuggest5/str str name=spellcheck.maxCollations3/str str name=spellcheck.maxCollationTries30/str str name=qfBUS_BUSINESS_NAME_PHRASE/str str name=spellcheck.count10/str str

FW: solr Analysis page matching question

2014-08-13 Thread Corey Gerhardt
Here's hopefully a better explanation of what I'm asking. http://screencast.com/t/8blvgtJbY Thanks, Corey -Original Message- From: Corey Gerhardt [mailto:corey.gerha...@directwest.com] Sent: August-08-14 2:30 PM To: Solr User List Subject: solr Analysis page matching question

solr Analysis page matching question

2014-08-08 Thread Corey Gerhardt
Edismax Field Value (Index) = a w Field Value (Query) = a w restaurant The last token filter for both the index and query is LengthFilter. So the very bottom of the Analyse Value results look like: LF | aw|awLF |aw|restaurant The bolded aw above indicate a match. In an actual

Change order of spell checker suggestions issue

2014-08-07 Thread Corey Gerhardt
Solr Rev: 4.6 Lucidworks: 2.6.3 This is sort of a repeat question, sorry. In the solrconfig.xml, will changing the value for the comparatorClass affect the sort of suggestions returned? This is my spellcheck component: searchComponent

Suggestion for term searches

2014-08-06 Thread Corey Gerhardt
I have an interesting situation of searching Business Names where results should be partially sorted by position. Searching for Kramer Tractors will not result in any matches as there no results that exactly match this. However there are business names that start with Kramer and there are also

Debug DirectSolrSpellChecker Suggestion Sort Order

2014-08-01 Thread Corey Gerhardt
Everything that I read says that the default sort order is by Score, yet this appears to me to be sorted by frequency: lst name=suggestions lst name=unie int