copyField based on value of another field

2015-06-23 Thread Alistair Young
Hi folks, is it possible to copyField only if another field has a certain value? e.g. copyField 'dc.subject' to 'image_suggestions' only if rdf http://www.nsdl.org/ontologies/relationships#isInImageBank is true thanks, Alistair -- mov eax,1 mov ebx,0 int 80h

Re: suggester returning stems instead of whole words

2015-06-17 Thread Alistair Young
place >the field and field type definitions anywhere in the schema.xml. > >See http://issues.apache.org/jira/browse/SOLR-5228 > >On Wed, Jun 17, 2015 at 9:09 PM, Alistair Young > wrote: >> working in a tiny tmux window does have some disadvantages, such as

Re: suggester returning stems instead of whole words

2015-06-17 Thread Alistair Young
working in a tiny tmux window does have some disadvantages, such as losing one’s place in the file! the subject_autocomplete definition wasn’t inside . Now that it is, everything is working. thanks for listening Alistair -- mov eax,1 mov ebx,0 int 80h On 17/06/2015 15:17, "Alistair

Re: suggester returning stems instead of whole words

2015-06-17 Thread Alistair Young
st >is supposed to point. Do you have any other component named "suggest" >that you might be picking up? > >Best, >Erick > >On Wed, Jun 17, 2015 at 6:50 AM, Alistair Young > wrote: >> yep did both of those things. Getting the same results as using >>dc.sub

Re: suggester returning stems instead of whole words

2015-06-17 Thread Alistair Young
invoke spellcheck.build=true to re-build the >spellcheck index? > >On Wed, Jun 17, 2015 at 7:06 PM, Alistair Young > wrote: >> copyField doesn¹t seem to fix the suggestion stemming. Copying the field >> to another field of this type: >> >> > stored="true

Re: suggester returning stems instead of whole words

2015-06-17 Thread Alistair Young
copyField doesn¹t seem to fix the suggestion stemming. Copying the field to another field of this type: but I¹m still getting stemmed suggestions after rebuilding the index. Alistair -- mov eax,1 mov ebx,0 int 80h On 17/06/2015 11:28, "Alistair Young" w

Re: suggester returning stems instead of whole words

2015-06-17 Thread Alistair Young
ah looks like I need to use copyField to get a non stemmed version of the suggester field Alistair -- mov eax,1 mov ebx,0 int 80h On 17/06/2015 11:15, "Alistair Young" wrote: >I was wondering if there's a way to get the suggester to return whole >words. Instead of

suggester returning stems instead of whole words

2015-06-17 Thread Alistair Young
suggest org.apache.solr.spelling.suggest.Suggester org.apache.solr.spelling.suggest.fst.WFSTLookupFactory dc.subject 0.005 true true suggest true 10 true suggest thanks, Alistair -- mov eax,1 mov ebx,0 int 80h

Re: phrase matches returning near matches

2015-06-16 Thread Alistair Young
yep seems that’s the answer. The highlighting is done separately by the rails app, so I’ll look into proper solr highlighting. thanks a lot for the use of your ears, much improved understanding! cheers, Alistair -- mov eax,1 mov ebx,0 int 80h On 16/06/2015 16:33, "Erick Erickson&qu

Re: phrase matches returning near matches

2015-06-16 Thread Alistair Young
management changes’ must be near enough ‘manage change’ to trigger a result. Alistair -- mov eax,1 mov ebx,0 int 80h On 16/06/2015 16:18, "Erick Erickson" wrote: >I agree with Allesandro the behavior you're describing >is _not_ correct at all given your description. So

Re: phrase matches returning near matches

2015-06-16 Thread Alistair Young
0.0 35.0 0.0 0.0 0.0 0.0 0.0 35.0 thanks, Alistair -- mov eax,1 mov ebx,0 int 80h On 16/06/2015 11:26, "Alessandro Benedetti" wrote: &g

phrase matches returning near matches

2015-06-16 Thread Alistair Young
hanges". It's relevant but I'd like to understand why solr is returning it. Is it a combination of fuzzy/slop? The distance between the two variations of the two words in the document is quite large. thanks, Alistair -- mov eax,1 mov ebx,0 int 80h

Solr spellcheck - onlyMorePopular threshold?

2014-06-09 Thread Alistair
Hello all, I was wondering what does the "onlyMorePopular" option for spellchecking use as its threshold? Will it always pick the suggestion that returns the most queries or does it base its result based off of some threshold that can be configured? Thanks! Ali. -- View this message in conte

Re: Having trouble with German compound words in Solr 4.7

2014-04-22 Thread Alistair
I've managed to solve this (in a quite hacky sort of way) by using filter queries and the edismax queryparser. I added in my solrconfig.xml the following parameters: edismax 75% Then when searching for multiple keywords (for example: schwarzkleid wenz, where wenz is a german brand name)

Re: Having trouble with German compound words in Solr 4.7

2014-04-21 Thread Alistair
Hi Siegfried, the debug shows that the separated keywords get OR'd together so a match to either keyword appears in the results. So if I am searching for: *keywords:schwarzkleid* this will get transformed to *keywords:schwarz keywords:kleid *which is equivalent to *keywords:schwarz OR keywords:kl

Re: Having trouble with German compound words in Solr 4.7

2014-04-18 Thread Alistair
Hey Jack, thanks for the reply. I added autoGeneratePhraseQueries="true" to the fieldType and now it's giving me even more results! I'm not sure if the debug of my query will be helpful but I'll paste it just in case someone might have an idea. This produces 113524 results, whereas if I manually e

Having trouble with German compound words in Solr 4.7

2014-04-18 Thread Alistair
Hello all, I'm a fairly new Solr user and I need my search function to handle compound words in German. I've searched through the archives and found that Solr already has a Filter Factory made for such words called DictionaryCompoundWordTokenFilterFactory. I've already built a list of words that I

Re: Strange behaviour with single word and phrase

2013-09-04 Thread Alistair Young
Yep ignoring stop words. Thanks for the pointer. Alistair - mov eax,1 mov ebx,0 int 80 On 04/09/2013 13:43, "Jack Krupansky" wrote: >Do you have stop word filtering enabled? What does your field type look >like? > >If stop words are ignored, yo

Strange behaviour with single word and phrase

2013-09-04 Thread Alistair Young
e word 'the' there are no hits at all. Thanks, Alistair - mov eax,1 mov ebx,0 int 80

Re: Collection not current after insert

2013-07-24 Thread Alistair Young
thanks Michael, adding autoCommit sorted it. cheers, Alistair -- mov eax,1 mov ebx,0 int 80h On 23/07/2013 18:34, "Michael Della Bitta" wrote: >Hi Alistair, > >You probably need a commit, and not an optimize. > >Which version of Solr are you running against? T

Collection not current after insert

2013-07-23 Thread Alistair Young
rning: http://purl.org/dc/elements/1.1/"; xmlns:foxml="info:fedora/fedora-system:def/foxml#" xmlns:zs="http://www.loc.gov/zing/srw/"; warnCount="0" docCount="854" deleteTotal="0" updateTotal="0" insertTotal="1" indexName="FgsIndex"/> thanks, Alistair -- mov eax,1 mov ebx,0 int 80h