Re: Solr spellchecking fails on sharded query

2012-06-22 Thread fabio curti
Hi, i try solr shards configuration ( SolrCloud ) and request settings as suggested in http://wiki.apache.org/solr/SpellCheckComponent#Distributed_Search_Support for shards spelling. Suggestion is empty as Eric said. Any idea? Fabio 2012/6/19 Eric Wilson > I have a Solr application that is dis

RE: Solr spellchecking fails on sharded query

2012-06-22 Thread Markus Jelsma
Hi, The spellcheck component must be enabled in your default request handler otherwise your suggestions list is empty. Cheers, -Original message- > From:fabio curti > Sent: Fri 22-Jun-2012 09:34 > To: solr-user@lucene.apache.org > Subject: Re: Solr spellchecking fails on sharded qu

Re: Solr spellchecking fails on sharded query

2012-06-22 Thread fabio curti
I did as you suggest enabling "spellcheck" component in select RH. explicit 10 spellcheck Response contains error 500 500 29 file true fc:8900/solr/commenti,fc:7500/solr/commenti,fc:8584/solr/commenti,fc:7574/solr/commenti piza piza java.

Re: Solr spellchecking fails on sharded query

2012-06-22 Thread fabio curti
Hi, it seems the shards suggestion working fine if i set the select RH as follow ( instead of ) explicit 10 spellcheck Now suggestion is populated! Fabio 2012/6/22 fabio curti > I did as you suggest enabling "spellcheck" component in sele

Request field date?

2012-06-22 Thread Bruno Mannina
Dear All, I have a standard field date in my docs like: 2005-02-05T23:59:59Z my field name is publication-date I would like to request docs (sorl admin) with only one specific year? I tried: patent-number:EP* AND title-en:airplane AND publication-date:[2010] without success :'( Note: patent-nu

Re: Request field date?

2012-06-22 Thread Bruno Mannina
Precision: I would like to write something like: [2010*] If I write publication-date:[2010-01-01T23:59:59Z TO 2010-12-31T23:59:59Z] it works fine Le 22/06/2012 10:51, Bruno Mannina a écrit : Dear All, I have a standard field date in my docs like: 2005-02-05T23:59:59Z my field name is publicat

Custom close to index metadata / pass commit data to writer.commit

2012-06-22 Thread Jozef Vilcek
Hi everyone, I am seeking to solution to store some custom data very close to / within index. I have found a possibility to pass commit "user" data to IndexWriter: http://lucene.apache.org/core/3_6_0/api/all/org/apache/lucene/index/IndexWriter.html#commit(java.util.Map) which are from what I under

different behaviour between analyze and (solr web interface) and index time

2012-06-22 Thread Giuseppe Tricarico
Hi all I have the following issue: I defined the following filedtype My meaning is to perform faceting on a filed... The strange thing is that I made a test with analysis tool and the substitution works well, but at index time it doesn't work... The field are unchanged as if no fil

Re: Indexation Speed?

2012-06-22 Thread Jan Høydahl
Actually, post.jar does not use SolrJ at all, thus it is simple and light with no dependencies. It simply uses HttpURLConnection :) Also have a look at SOLR-599 which has an interesting light-weight SolrJ server also without the extra deps. -- Jan Høydahl, search solution architect Cominvent AS

Fwd: suggester/autocomplete locks file preventing replication

2012-06-22 Thread tom
FYI matter has been dealt with on the dev list Original Message Subject:Re: Re: suggester/autocomplete locks file preventing replication Date: Fri, 22 Jun 2012 12:16:35 +0200 From: Simon Willnauer Reply-To: d...@lucene.apache.org, simon.willna...@gmail.com To

Re: Indexation Speed?

2012-06-22 Thread Erik Hatcher
I stand corrected. (and I "knew" that, just wasn't thinking fully when replying from my mobile) I still say there's nothing wrong with using post.jar to send in Solr XML provided commits are managed appropriately. Are there any drawbacks others know of to using post.jar like one would use

Re: solr plugin

2012-06-22 Thread Erick Erickson
You should be able to compile your new plugin and use the directive in solrconfig.xml to point to your new jar. Solr should have access to all the lucene jar files at that point. I usually build plugins after checking out all of the Solr source and doing an "ant dist" and pathing my IDE correctly

alphanumeric interval

2012-06-22 Thread AlexR
Hallo, i have a problem and don't know how to fix it. for a project i need intervals over a field of alphanumeric content. For example i have a field with names (100 different names) and i need 4 Intervals Alex Andreas Ben Christian Daniel I need even sized buckets and their borders. 100/4

Suggester component replication

2012-06-22 Thread marotosg
Hi. I have a Solr master and slave servers. After replicating from master to slave the suggester in slave does not have any data. Do you know if replication is possible for a suggester component? Thanks Sergio -- View this message in context: http://lucene.472066.n3.nabble.com/Suggester-compon

Re: distributed search

2012-06-22 Thread Michael Della Bitta
This is possible, but you have to create a schema that somehow rationalizes the differences of the two, either by having the sum of all the fields, by sharing the fields but using a type field to signify the sense in which they're being used, by using dynamic fields to relax the schema, or some com

Unable to search with the number contains in Product Part number and the string sontains the name of the product

2012-06-22 Thread prasenjit
Hi, I am using Solr search in Websphere Commerce 7.While searching with the product partnumber and the first part of the name string I am able to search the particular product along with it's details.But when I am searching with part of a partnumber say for example '1487' instead of full part numbe

Re: How can I optimize Sorting on multiple text fields

2012-06-22 Thread Erick Erickson
First, you can't sort on text fields, assuming that by "text" you're talking about tokenized fields. Typically, people use copyField to copy these fields into a non-tokenized string, usually normalized to, for instance, make everything lowercase and sort on _that_. Note, you're not _displaying_ th

Solr DataImport failing silently, intermitantly

2012-06-22 Thread Eric Wilson
One of our Solr indexes is failing to import successfully on occasion, without any useful errors being reported. This is a small index (about 15k documents) in Solr 1.4, deployed in Tomcat 7. It is updated every six minutes using the DataImportHandler. These jobs are managed by JobScheduler. Late

Re: Request field date?

2012-06-22 Thread Erick Erickson
You're a bit stuck, Solr doesn't really recognize partial dates like you want. What you can do, though, is just create an additional int field for year in this case and query on that. Best Erick On Fri, Jun 22, 2012 at 5:07 AM, Bruno Mannina wrote: > Precision: > I would like to write something

Re: distributed search

2012-06-22 Thread Amit Jha
Ashutosh, Do you want to import data to solr?please explain the use case. How you are performing a search in current scenario? And what is expected from solr? Rgds AJ On 22-Jun-2012, at 15:09, "Ashutosh Puspwan" wrote: > Dear Sir/Mam > > I am a beginner in apache solr. I want to search data

Re: How can I optimize Sorting on multiple text fields

2012-06-22 Thread Amit Jha
On 22-Jun-2012, at 11:30, Alok Bhandari wrote: > Hello, > > the requirement which I have is that on solr side we have indexed data of > multiple customers and each customer we have at least a million documents. > After executing search end user want to sort on some fields on datagrid lets > sa

Re: alphanumeric interval

2012-06-22 Thread Cat Bieber
I had a similar issue. The solution I ended up using was a custom RequestHandler that extends SearchHandler. In handleRequestBody() it calls super.handleRequestBody(req, rsp), looks for a "pageSize" parameter (25 in your example), and loops over the array of results inside the response, pulling

Segments corrupted, please help !

2012-06-22 Thread Bruno Mannina
Dear All, Today, I turn off/on my computer with standard procedure (server, shutdown, sorl was turned off) and now I get the message below when I run solr by using java -jar start.jar cf. picture 1 concerning segments_4i and the checksum?! My index size is 36Go and I have only one segments_4i

Re: Segments corrupted, please help !

2012-06-22 Thread Bruno Mannina
Sorry Picture has been delete during posting http://matheo2.free.fr/Image1.png http://matheo2.free.fr/Image2.png Le 22/06/2012 20:34, Bruno Mannina a écrit : Dear All, Today, I turn off/on my computer with standard procedure (server, shutdown, sorl was turned off) and now I get the message b