RE: Configure query parser to handle field name case-insensitive

2017-05-15 Thread Duck Geraint (ext) GBJH
As you're using the extended dismax parser, it has an option to include per field aliasing: https://cwiki.apache.org/confluence/display/solr/The+Extended+DisMax+Query+Parser You could include this in your solr requesthandler config, e.g. id Which would direct ID:1 to instead search id:1

RE: Wrong highlighting in stripped HTML field

2016-09-08 Thread Duck Geraint (ext) GBJH
As far as I can tell, that is how it's currently set-up (does the same on mine at least). The HTML Stripper seems to exclude the pre tag, but include the post tag when it generates the start and end offsets of each text token. I couldn't say why though... (This may just have avoided needing to

RE: Recursively scan documents for indexing in a folder in SolrJ

2015-10-19 Thread Duck Geraint (ext) GBJH
t; some codes from there to detect the file format? As for files that contains non-English characters (Eg; Chinese characters), it is currently not able to read the Chinese characters, and it is all read as a series of "???". Any idea how to solve this problem? Thank you. Regards, Edwin On 16

RE: File-based Spelling

2015-10-19 Thread Duck Geraint (ext) GBJH
"Yet, it claimed it found my misspelled word to be "fenber" without the "s"" I wonder if this is because you seem to applying a stemmer to your dictionary words. Try removing the "text_en" line from your spellcheck search component definition. Geraint Geraint Duck Data Scientist Toxicology

RE: Recursively scan documents for indexing in a folder in SolrJ

2015-10-16 Thread Duck Geraint (ext) GBJH
Also, check this link for SolrJ example code (including the recursion): https://lucidworks.com/blog/2012/02/14/indexing-with-solrj/ Geraint Geraint Duck Data Scientist Toxicology and Health Sciences Syngenta UK Email: geraint.d...@syngenta.com -Original Message- From: Jan Høydahl

RE: NullPointerException

2015-10-13 Thread Duck Geraint (ext) GBJH
Mark Fenbers [mailto:mark.fenb...@noaa.gov] Sent: 12 October 2015 12:14 To: solr-user@lucene.apache.org Subject: Re: NullPointerException On 10/12/2015 5:38 AM, Duck Geraint (ext) GBJH wrote: > "When I use the Admin UI (v5.3.0), and check the spellcheck.build box" > Out of interes

RE: NullPointerException

2015-10-12 Thread Duck Geraint (ext) GBJH
"When I use the Admin UI (v5.3.0), and check the spellcheck.build box" Out of interest, where is this option within the Admin UI? I can't find anything like it in mine... Do you get the same issue by submitting the build command directly with something like this instead:

RE: New Project setup too clunky

2015-09-28 Thread Duck Geraint (ext) GBJH
Huh, strange - I didn't even notice that you could create cores through the UI. I suppose it depends what order you read and infer from the documentation. See "Create a Core": https://cwiki.apache.org/confluence/display/solr/Running+Solr I followed the "solr create -help" option to work out how

RE: query parsing

2015-09-24 Thread Duck Geraint (ext) GBJH
Okay, so maybe I'm missing something here (I'm still relatively new to Solr myself), but am I right in thinking the following is still in your solrconfig.xml file: true managed-schema If so, wouldn't using a managed schema make several of your field definitions inside the