Re: rough maximum cores (shards) per machine?

2015-03-24 Thread Test Test
Hi there,  I'm trying to create my own TokenizerFactory (from tamingtext's book).After setting schema.xml and have adding path in solrconfig.xml, i start solr.I have this error message : Caused by: org.apache.solr.common.SolrException: Plugin init failure for [schema.xml] fieldType "text": Plugi

Custom TokenFilter

2015-03-24 Thread Test Test
Hi there,  I'm trying to create my own TokenizerFactory (from tamingtext's book).After setting schema.xml and have adding path in solrconfig.xml, i start solr.I have this error message : Caused by: org.apache.solr.common.SolrException: Plugin init failure for [schema.xml] fieldType "text": Plugi

Re: Custom TokenFilter

2015-03-25 Thread Test Test
tException: class com.tamingtext.texttamer.solr. This usually means you have jar files from different versions of Solr in your classpath. Best, Erick On Tue, Mar 24, 2015 at 2:38 PM, Test Test wrote: > Hi there, > I'm trying to create my own TokenizerFactory (from tamingtext

Re: Custom TokenFilter

2015-03-25 Thread Test Test
. Whether or not all the jars in the directory you're working on are consistent is the least of your problems. Are the libs to be found in any _other_ place specified on your classpath? Best, Erick On Wed, Mar 25, 2015 at 12:36 AM, Test Test wrote: > Thanks Eric, > > I'm work

Re: Custom TokenFilter

2015-03-25 Thread Test Test
- - Thanks for advance Regards. Le Mercredi 25 mars 2015 20h18, Test Test a écrit : Re, Sorry about the image.So, there are all my dependencies jar in listing below :-  commons-cli-2.0-mahout.jar- commons-compress-1.9.jar- commons-io-2.4.jar-  commons-logging-1.2.jar- httpclient-4.4.jar

Re: Custom TokenFilter

2015-03-25 Thread Test Test
ng them in twice would explain the cast exception. not need these in the tamingtext/dependency subdirectory, just the things that are _not_ in Solr already.. Best, Erick On Wed, Mar 25, 2015 at 12:21 PM, Test Test wrote: > Re, > Sorry about the image.So, there are all my dependencies jar i

Re: Custom TokenFilter

2015-03-25 Thread Test Test
Re, Finally, i think i found where this problem comes.I didn't use the right class extender, instead using Tokenizers, i'm using Token filter. Eric, thanks for your replies.Regards. Le Mercredi 25 mars 2015 23h55, Test Test a écrit : Re, I have tried to remove all the red

Re: Custom TokenFilter

2015-03-26 Thread Test Test
at 4:21 PM, Test Test wrote: > Re, > Finally, i think i found where this problem comes.I didn't use the right > class extender, instead using Tokenizers, i'm using Token filter. > Eric, thanks for your replies.Regards. > > >      Le Mercredi 25 mars 2015 23h55, T

Trouble GetSpans lucene 4

2015-04-06 Thread Test Test
Hi,  I'm working on TamingText's book.I try to upgrade the code from solr 3.6 to solr 4.10.2.At the moment, i have a problem about the method "getSpans"."spans.next()" returns always "false".Anyone can helps? SpanNearQuery sQuery = (SpanNearQuery) origQuery;SolrIndexSearcher searcher = rb.req.ge

Re: Trouble GetSpans lucene 4

2015-04-07 Thread Test Test
-Original Message- From: Compte Poubelle [mailto:andymish...@yahoo.fr] Sent: Tuesday, April 07, 2015 1:53 PM To: solr-user@lucene.apache.org Subject: Re: Trouble GetSpans lucene 4 Up. Anyone? Best regards. > On 6 avr. 2015, at 21:32, Test Test wrote: > > Hi, > I'm wor

Re: i am using text_general not able to search on space

2015-04-08 Thread Test Test
Re, You have to specify defautSearchField tag in Schema.xml Regards,Andy Le Mercredi 8 avril 2015 21h33, avinash09 a écrit : http://localhost:8983/solr/rna/select?q=test_name:*Uae blow*&wt=json&rows=100 getting { responseHeader: { status: 400, QTime: 28 }, error: { msg: "no fiel

What's wrong

2015-06-13 Thread Test Test
Hi, I have solr document, composed like this, with 2 fields : id = 1details = "London is the capital and most-populous city of United Kingdom." When i request solr with this parameter (details:london, details:city), i don't get the document.The "details" field is a type "text_general"            

Re: What's wrong

2015-06-14 Thread Test Test
;TRUE"? -- Jack Krupansky On Sat, Jun 13, 2015 at 5:54 AM, Test Test wrote: > Hi, > I have solr document, composed like this, with 2 fields : id = 1details = > "London is the capital and most-populous city of United Kingdom." > When i request solr with this parameter (

Re: What's wrong

2015-06-25 Thread Test Test
he two terms appear in order and with no more than one other term between them, but your data has more than one term between them, so of course that will not match. You can simulate a span query using sloppy phrases in the normal Solr query parsers: "london city"~10. The only catch is that