Re: Solr-5.2.1 ClassNotFound - solr.HMMChineseTokenizerFactory

2015-06-27 Thread Shawn Heisey
On 6/27/2015 6:05 PM, Ming Liang wrote: > Sorry, >I have solved the problem by coping the necessary libs from > "solr/contrib/analysis-extras" > to"solr/server/solr-webapp/webapp/WEB-INF/lib" . > I didn't realise that solr-webapp is the true "solr-home" That's not the solr home. solr-webapp i

Re: Solr-5.2.1 ClassNotFound - solr.HMMChineseTokenizerFactory

2015-06-27 Thread Ming Liang
Sorry, I have solved the problem by coping the necessary libs from "solr/contrib/analysis-extras" to"solr/server/solr-webapp/webapp/WEB-INF/lib" . I didn't realise that solr-webapp is the true "solr-home" thanks 2015-06-27 22:59 GMT+08:00 Ming Liang : > I am using Solr-5.2.1 > I tried to add

Re: Auto-suggest in Solr

2015-06-27 Thread Alessandro Benedetti
Thanks, Erick, i didn't have time to go again through the code. But i will forward this to the Dev list. Thank you for your time ! Cheers 2015-06-27 16:19 GMT+01:00 Erick Erickson : > Alessandro: > > Going to have to defer to Mike McCandless et.al., they're the > authorities here. Don't quite kn

Re: Solr-5.2.1 ClassNotFound - solr.HMMChineseTokenizerFactory

2015-06-27 Thread Erick Erickson
Packaging is always "interesting": It's in ./contrib/analysis-extras/lucene-libs/lucene-analyzers-smartcn-5.2.0.jar and you'll have to either move it to a place "known" by Solr or set up a Best, Erick On Sat, Jun 27, 2015 at 10:59 AM, Ming Liang wrote: > I am using Solr-5.2.1 > I tried to ad

Re: Solr Wildcard Search for large amount of text

2015-06-27 Thread Jack Krupansky
What do you want actual user queries to look like? I mean, having to explicitly write asterisks after every term is a real pain. Indexing ngrams has the advantage that phrase queries and edismax phrase boosting work automatically. Phrases don't work with explicit wildcard queries. The only real d

Re: Solr Wildcard Search for large amount of text

2015-06-27 Thread Erick Erickson
Try it and see ;). My experience is that wildcards work fine, although what "fine" is up to you to decide _if_ you restrict it to requiring at least two leading "real" characters, and I actually prefer three. I.e. ab* or abc*. Note that if you require leading wildcards, use the reverse wildcard fi

Re: ConcurrentUpdateSolrClient ignoring the collection param in some methods

2015-06-27 Thread Erick Erickson
Jorge: Another thing to consider: CloudSolrClient is a much better choice in cloud environments that CUSC. What you're seeing isn't right, no doubt but using the other class may: 1> not require a work-around 2> be much more efficient. In a sharded situation, CloudSolrClient will route all the doc

Re: Upgrade to 5.2 from 4.6, no storing of text

2015-06-27 Thread Erick Erickson
This should be no different in 5.2 than 4.6. My first guess is a typo somewhere or some similar forehead-slapper. Are you sure you're specifying the field in the "fl" list? Take a look at the index files, the *.fdt files are where the stored data goes. You can't look into them, but for the same d

Re: Auto-suggest in Solr

2015-06-27 Thread Erick Erickson
Alessandro: Going to have to defer to Mike McCandless et.al., they're the authorities here. Don't quite know whether they monitor this list, consider the dev list? Best, Erick On Fri, Jun 26, 2015 at 4:53 AM, Alessandro Benedetti wrote: > Up, Can anyone gently take a look to my considerations r

Re: issue with highlighting in solr 4.10.2

2015-06-27 Thread Erick Erickson
Does watch exist in the Contents field somewhere outside the snippet size you've specified? Shot in the dark, Erick On Fri, Jun 26, 2015 at 3:22 AM, Dmitry Kan wrote: > Hi, > > When highlighting hits for the following query: > > (+Contents:apple +Contents:watch) Contents:iphone > > I expect the

Re: How to do a Data sharding for data in a database table

2015-06-27 Thread Erick Erickson
Hmmm, indeed it does. Never mind ;) I guess the thing I'd be looking at is garbage collection, here's a very good writeup: http://lucidworks.com/blog/garbage-collection-bootcamp-1-0/ Kind of a shot in the dark, but it's possible. Good luck! Erick On Thu, Jun 25, 2015 at 3:26 PM, Wenbin Wang wro

Solr-5.2.1 ClassNotFound - solr.HMMChineseTokenizerFactory

2015-06-27 Thread Ming Liang
I am using Solr-5.2.1 I tried to add a field type named "text_chinese" to the schema.xml of the given guide example "techproducts": when I start "techproducts" with command "bin/solr -e techproducts" I got error: Waiting to see Solr listening on port 898

Re: Solr Wildcard Search for large amount of text

2015-06-27 Thread Shawn Heisey
On 6/27/2015 4:27 AM, octopus wrote: > Hi, I'm looking at Solr's features for wildcard search used for a large > amount of text. I read on the net that solr.EdgeNGramFilterFactory is used > to generate tokens for wildcard searching. > > For Nigerian => "ni", "nig", "nige", "niger", "nigeri", "nig

Re: Solr Wildcard Search for large amount of text

2015-06-27 Thread Upayavira
That is one way to implement wildcarda, but isnt the most efficient. Just index normally, tokenized, and search with an asterisk suffix, e.g. foo* This will build a finite state transformer that will make wildcard handling efficient. Upayavira On, Jun 27, 2015, at 11:27 AM, pus wrote: > Hi, I'm

Re: Solr Spellalike Feature

2015-06-27 Thread Jack Krupansky
Fuzzy query using the tilde operator: hat~1 See: https://cwiki.apache.org/confluence/display/solr/The+Standard+Query+Parser -- Jack Krupansky On Sat, Jun 27, 2015 at 12:08 AM, octopus wrote: > Hi, I am new to Solr and would like to find out if Solr has a spellalike > feature that can fulfill t

Solr Wildcard Search for large amount of text

2015-06-27 Thread octopus
Hi, I'm looking at Solr's features for wildcard search used for a large amount of text. I read on the net that solr.EdgeNGramFilterFactory is used to generate tokens for wildcard searching. For Nigerian => "ni", "nig", "nige", "niger", "nigeri", "nigeria", "nigeria", "nigerian" However, I have a

Re: Solr Spellalike Feature

2015-06-27 Thread Brendan Humphreys
Solr's SpellCheck component does what you are looking for. https://cwiki.apache.org/confluence/display/solr/Spell+Checking http://lucidworks.com/blog/getting-started-spell-checking-with-apache-lucene-and-solr/ HTH -Brendan On 27 June 2015 at 14:08, octopus wrote: > Hi, I am new to Solr and w