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
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 alistair.yo...@uhi.ac.uk wrote: I was wondering if there's a way to get the suggester to return whole words. Instead

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: searchComponent class=solr.SpellCheckComponent name=suggest lst

Re: suggester returning stems instead of whole words

2015-06-17 Thread Alistair Young
/ /analyzer /fieldType 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 alistair.yo...@uhi.ac.uk wrote: ah looks like I need to use copyField to get a non stemmed version of the suggester field

Re: suggester returning stems instead of whole words

2015-06-17 Thread Alistair Young
spellcheck.build=true to re-build the spellcheck index? On Wed, Jun 17, 2015 at 7:06 PM, Alistair Young alistair.yo...@uhi.ac.uk wrote: copyField doesn¹t seem to fix the suggestion stemming. Copying the field to another field of this type: field name=subject_autocomplete type=text_auto indexed

Re: suggester returning stems instead of whole words

2015-06-17 Thread Alistair Young
/str 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 alistair.yo...@uhi.ac.uk wrote: yep did both of those things. Getting the same results as using dc.subject On 17/06/2015 14:44

Re: suggester returning stems instead of whole words

2015-06-17 Thread Alistair Young
name=spellcheck.dictionarysuggest/str 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 alistair.yo...@uhi.ac.uk wrote: yep did both of those things. Getting the same results as using

Re: suggester returning stems instead of whole words

2015-06-17 Thread Alistair Young
and you can 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 alistair.yo...@uhi.ac.uk wrote: working in a tiny tmux window does have some disadvantages, such as losing one’s

Re: phrase matches returning near matches

2015-06-16 Thread Alistair Young
authoritatively since it's based exactly on your particular analysis chain. Best, Erick On Tue, Jun 16, 2015 at 8:25 AM, Alistair Young alistair.yo...@uhi.ac.uk wrote: yes prolly not a bug. The highlighting is on but nothing is highlighted. Perhaps this text is triggering it? 'consider the impacts

Re: phrase matches returning near matches

2015-06-16 Thread Alistair Young
2015-06-16 11:33 GMT+01:00 Alistair Young alistair.yo...@uhi.ac.uk: it¹s a useful behaviour. I¹d just like to understand where it¹s deciding the document is relevant. debug output is: lst name=debug str name=rawquerystringdc.description:manage change/str str name

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 lots more words... changes. It's

Re: phrase matches returning near matches

2015-06-16 Thread Alistair Young
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 Young alistair.yo...@uhi.ac.uk: 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

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: Strange behaviour with single word and phrase

2013-09-04 Thread Alistair Young
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 anyone could point me in the right direction please

Re: Collection not current after insert

2013-07-24 Thread Alistair Young
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, 2013 at 9:57 AM, Alistair Young alistair.yo...@uhi.ac.ukwrote: Hi there, My Solr is being fed by Fedora

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