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
I was wondering if there's a way to get the suggester to return whole words. Instead of returning 'technology' , 'temperature' and 'tutorial', it's returning 'technolog' , 'temperatur' and 'tutori' using this config: suggest org.apache.solr.spelling.suggest.Suggester org

Re: phrase matches returning near matches

2015-06-16 Thread Alistair Young
this type of question authoritatively since it's based exactly >on your particular analysis chain. > >Best, >Erick > >On Tue, Jun 16, 2015 at 8:25 AM, Alistair Young > wrote: >> yes prolly not a bug. The highlighting is on but nothing is highlighted. >> Perhap

Re: phrase matches returning near matches

2015-06-16 Thread Alistair Young
>> "Lucene supports finding words are a within a specific distance away. >>To do >> a proximity search use the tilde, "~", symbol at the end of a Phrase. >>For >> example to search for a "apache" and "jakarta" within 10 words of e

Re: phrase matches returning near matches

2015-06-16 Thread Alistair Young
t;Can you show us how the query is parsed ? >You didn't tell us nothing about the query parser you are using. >Enable the debugQuery=true will show you how the query is parsed and this >will be quite useful for us. > > >Cheers > >2015-06-16 11:22 GMT+01:00 Alistair Yo

phrase matches returning near matches

2015-06-16 Thread Alistair Young
Hiya, I've been looking for documentation that would point to where I could modify or explain why 'near neighbours' are returned from a phrase search. If I search for: "manage change" I get back a document that contains "this will help in your management of changes". It's relevant but I'd lik

Re: Strange behaviour with single word and phrase

2013-09-04 Thread Alistair Young
u will get exactly the behavior you >described. > >-- Jack Krupansky > >-Original Message- >From: Alistair Young >Sent: Wednesday, September 04, 2013 6:57 AM >To: solr-user@lucene.apache.org >Subject: Strange behaviour with single word and phrase > >I wonder if anyon

Strange behaviour with single word and phrase

2013-09-04 Thread Alistair Young
I wonder if anyone could point me in the right direction please? If I search on the phrase "the toolkit" I get hits containing that phrase but also hits that have the word 'the' before the word 'toolkit', no matter how far apart they are. Also, if I search on the word 'the' there are no hits at

Re: Collection not current after insert

2013-07-24 Thread Alistair Young
>appinions inc. > >³The Science of Influence Marketing² > >18 East 41st Street > >New York, NY 10017 > >t: @appinions <https://twitter.com/Appinions> | g+: >plus.google.com/appinions >w: appinions.com <http://www.appinions.com/> > > >On Tue, Jul 23,

Collection not current after insert

2013-07-23 Thread Alistair Young
Hi there, My Solr is being fed by Fedora GSearch and when uploading a new resource, the Collection is optimized but not current so the new resource can't be found. I have to go to the Core Admin page and Optimize it from there, in order to make the collection current. Is there anything I should