Re: where should I check for "solrj SolrServerException"

2014-08-04 Thread Lee Chunki
The system architecture is solrj client —— L4 ——— three sold servers it works well most of time but the error occurs less 20 times a day. Thanks, Chunki On Aug 5, 2014, at 3:35 PM, Alexandre Rafalovitch wrote: > Does it by any chance happen after a period of inactivity? And you are > holding

Re: where should I check for "solrj SolrServerException"

2014-08-04 Thread Alexandre Rafalovitch
Does it by any chance happen after a period of inactivity? And you are holding on to the client? If so, check you don't have a firewall in between that times out and drops the "assumed dead" connection. Regards, Alex. Personal: http://www.outerthoughts.com/ and @arafalov Solr resources and news

Re: Modify/add/remove params at search component

2014-08-04 Thread Lee Chunki
Hi Umesh Prassad, it makes my code simpler than before. Thank you, Chunki. On Aug 4, 2014, at 9:48 PM, Umesh Prasad wrote: > Use ModifiableParams > > SolrParams params = rb.req.getParams(); >ModifiableSolrParams modifableSolrParams = new > ModifiableSolrParams(params)

where should I check for "solrj SolrServerException"

2014-08-04 Thread Lee Chunki
Hi, I am using Solrj and sometimes get connection problems like : org.apache.solr.client.solrj.SolrServerException: IOException occured when talking to server at Caused by: java.net.SocketException: Connection reset Caused by: org.apache.http.NoHttpResponseException: The target server failed t

Re: Solr Faceting issue

2014-08-04 Thread Tomás Fernández Löbbe
If I understand correctly, you are looking for "multi-select faceting": https://wiki.apache.org/solr/SimpleFacetParameters#Multi-Select_Faceting_and_LocalParams On Mon, Aug 4, 2014 at 9:46 PM, Smitha Rajiv wrote: > Hi Solr Experts, > > > Request you to please help me in fixing the below facets

Solr Faceting issue

2014-08-04 Thread Smitha Rajiv
Hi Solr Experts, Request you to please help me in fixing the below facets problem. Thanks in advance. Also pls let me know if you do not understand any part of my explanation below. How do I facet on more than two categories (let’s say ‘project’ and ‘type’ as discussed below) at the same time

Re: solr update dynamic field generates multiValued error

2014-08-04 Thread Erick Erickson
Hmmm, I jus tried this with a 4.x build and I can update the document multiple times without a problem. I just indexed the standard exampledocs and then updated a doc like this (vidcard.xml was the base): EN7800GTX/2DHTV/256M eoe changed this puppy I'm not getting any multiple values

Re: Implementing custom analyzer for multi-language stemming

2014-08-04 Thread TK
On 7/30/14, 10:47 AM, Eugene wrote: Hello, fellow Solr and Lucene users and developers! In our project we receive text from users in different languages. We detect language automatically and use Google Translate APIs a lot (so having arbitrary number of languages in our system doesn't

Re: solr update dynamic field generates multiValued error

2014-08-04 Thread Franco Giacosa
No, they are not declarad explicitly. This is how they are created: 2014-08-04 22:28 GMT-03:00 Michael Ryan : > Are the latLong_0_coordinate and latLong_1_coordinate fields populated > using copyField? If so, this sounds like it could be > https://issues.apache.org/jira/browse/SOLR-3502

RE: solr update dynamic field generates multiValued error

2014-08-04 Thread Michael Ryan
Are the latLong_0_coordinate and latLong_1_coordinate fields populated using copyField? If so, this sounds like it could be https://issues.apache.org/jira/browse/SOLR-3502. -Michael -Original Message- From: Franco Giacosa [mailto:fgiac...@gmail.com] Sent: Monday, August 04, 2014 9:05 P

solr update dynamic field generates multiValued error

2014-08-04 Thread Franco Giacosa
Hello everyone, this is my first time posting a question, so forgive me if i'm missing something. This is my problem: I have a schema.xml that has the following latLong information The dynamicField generates 2 dynamic fields that have the lat and the long (latLong_0_coordinate and latLong_1_coor

Paging bug in ReRankingQParserPlugin?

2014-08-04 Thread Adair Kovac
Looking at this line in the code: // This enusres that reRankDocs <= docs needed to satisfy the result set. reRankDocs = Math.max(start+rows, reRankDocs); This looks like it would cause skips and duplicates while paging through the results, since if you exceed the reRankDocs parameter and keep fi

Re: How to search for phrase "IAE_UPC_0001"

2014-08-04 Thread Jack Krupansky
The standard tokenizer treats underscore as a valid token character, not a delimiter. The word delimiter filter will treat underscore as a delimiter though. Make sure your query-time WDF does not have preserveOriginal="1" - but the index-time WDF should have preserveOriginal="1". Otherwise, th

Re: How to search for phrase "IAE_UPC_0001"

2014-08-04 Thread Paul Rogers
Hi Guys Thanks for the replies. I've had a look at the WordDelimiterFilterFactory and the Term Info for the url field. It seems that all the terms exist and I now understand that each url is being broken up using the delimiters specified. But I think I'm still missing something. Am I correct i

Re: Stand alone Solr - no zookeeper?

2014-08-04 Thread Timothy Potter
It will always be supported under the current architecture as SolrCloud uses master/slave style replication to bring replicas back in-sync with leaders if a replica is too far out of date (currently, too far > 100 missed updates). So if it fits your architecture better, then use it! On Mon, Aug 4,

Re: Stand alone Solr - no zookeeper?

2014-08-04 Thread Joel Cohen
Thanks for the input. For how long will the 'old style' of replication be supported? Is it set to go away in Solr 5? I don't want to be stuck on using an old version because we designed our application the wrong way. On Mon, Aug 4, 2014 at 10:22 AM, Michael Della Bitta < michael.della.bi...@appin

RE: Solr substring search yields all indexed results

2014-08-04 Thread Markus Jelsma
Don't use N-grams at query time. -Original message- > From:prem1980 > Sent: Monday 4th August 2014 17:47 > To: solr-user@lucene.apache.org > Subject: Solr substring search yields all indexed results > > To do a substring search, I have added a new fieldType - "Text" with > NgramFilte

Solr substring search yields all indexed results

2014-08-04 Thread prem1980
To do a substring search, I have added a new fieldType - "Text" with NgramFilter. It works fine perfectly but downside is this problem Example name = ['Apple','Samy','And','a'] When I do a search name:a, then all the above items gets pulled up. Even when search changes to "App". All the above it

Problems with SolrCloud in multi-machine Vagrant

2014-08-04 Thread Alexander Ramos Jardim
Hi, I am trying to build a development environment with 3 solr nodes and 1 zookeeper node using Vagrant. I am using example/collection1 with 2 shards, standard tutorial. Right now, this is my Vagrantfile: VAGRANTFILE_API_VERSION = "2" > Vagrant.configure(VAGRANTFILE_API_VERSION) do |config| >

Re: Auto Complete

2014-08-04 Thread benjelloun
if you have another configuration to can solve this problem please share it, thanks -- View this message in context: http://lucene.472066.n3.nabble.com/Auto-Complete-tp4150987p4151002.html Sent from the Solr - User mailing list archive at Nabble.com.

Re: Bloom filter

2014-08-04 Thread Per Steffensen
I just finished adding support for persisted ("backed" as I call them) bloom-filters in Guava Bloom Filter. Implemented one kind of persisted bloom-filter that works on memory mapped files. I have changed our Solr code so that it uses such a enhanced Guava Bloom Filter. Making sure it is kept up

Re: Stand alone Solr - no zookeeper?

2014-08-04 Thread Yonik Seeley
On Fri, Aug 1, 2014 at 10:48 AM, Joel Cohen wrote: > The only thing so far that I see as a hurdle here is the data set size vs. > heap size. If the index grows too large, then we have to increase the heap > size, which could lead to longer GC times. Servers could pop in and out of > the load balan

Re: Stand alone Solr - no zookeeper?

2014-08-04 Thread Michael Della Bitta
Hi Joel, You're sort of describing the classic replication scenario, which you can get started on by reading this: http://wiki.apache.org/solr/SolrReplication Although I believe this is handled in the reference guide, too. Generally speaking, the sorts of issues you mention are general issues th

Re: Auto Complete

2014-08-04 Thread benjelloun
here is my configuration: suggestDic org.apache.solr.spelling.suggest.Suggester org.apache.solr.spelling.suggest.fst.WFSTLookupFactory suggestFolder suggestField true true suggestFolder/emptyDic.txt

Re: Auto Complete

2014-08-04 Thread Michael Della Bitta
How are you implementing autosuggest? I'm assuming you're querying an indexed field and getting a stored value back. But there are a wide variety of ways of doing it. Michael Della Bitta Applications Developer o: +1 646 532 3062 appinions inc. “The Science of Influence Marketing” 18 East 41st

Re: Auto Complete

2014-08-04 Thread benjelloun
hello you didnt enderstand well my probleme, i give exemple: i have document contain "genève" with accent when i do q="gene" --> autoSuggest "geneve" because of ASCIIFoldingFilterFactory preserveOriginal="true" when i do q="genè" --> autoSuggest "genève" but what i need to is: q="gene" without ac

Re: Auto Complete

2014-08-04 Thread Michael Della Bitta
You need to use this filter in your analysis chain: http://wiki.apache.org/solr/AnalyzersTokenizersTokenFilters#solr.ASCIIFoldingFilterFactory Michael Della Bitta Applications Developer o: +1 646 532 3062 appinions inc. “The Science of Influence Marketing” 18 East 41st Street New York, NY 1

Auto Complete

2014-08-04 Thread benjelloun
Hello, I have an index which contain "genève" I need to do this query q="gene" and get in auto complete this result : "genève" (e -> è) I'm using StandardTokenizerFactory for field and SpellCheckComponent for searchCompenent. All solutions are welcome, Thanks, Best regards, Anass BENJELLOUN

Re: Solr vs ElasticSearch

2014-08-04 Thread Jack Krupansky
And neither project supports the Lucene faceting module, correct? And the ES web site says: "WARNING: Facets are deprecated and will be removed in a future release. You are encouraged to migrate to aggregations instead." That makes it more of an apples/oranges comparison. -- Jack Krupansky

Re: Solr vs ElasticSearch

2014-08-04 Thread Yonik Seeley
On Mon, Aug 4, 2014 at 2:43 AM, Alexandre Rafalovitch wrote: > That resource is rather superficial. I wouldn't make big decision based on it. Agree. It's also somewhat biased given the environment in which it grew. ES advocates were all over stuff like that, but Solr advocates were less vocal.

Re: Modify/add/remove params at search component

2014-08-04 Thread Umesh Prasad
Use ModifiableParams SolrParams params = rb.req.getParams(); ModifiableSolrParams modifableSolrParams = new ModifiableSolrParams(params); modifableSolrParams.set("ParamName", "paramValue"); rb.req.setParams(modifableSolrParams) On 4 August 2014

Re: Auto suggest with adding accents

2014-08-04 Thread benjelloun
Any one find any solution for this probleme ? -- View this message in context: http://lucene.472066.n3.nabble.com/Auto-suggest-with-adding-accents-tp4150379p4150972.html Sent from the Solr - User mailing list archive at Nabble.com.

Re: Slow inserts when using Solr Cloud

2014-08-04 Thread ian
Very interested in what you find out with your benchmarking, and whether it bears out what I've experienced. Does anyone know when 4.10 is likely to be released? I'm benchmarking this right now so I'll share some numbers soon. -- View this message in context: http://lucene.472066.n3.nabble

Re: Query regarding Solr doc atomic updates

2014-08-04 Thread Shalin Shekhar Mangar
I think you are sending the entire document returned by Solr again for an atomic update. The reason why it fails with a version conflict error because the document you are sending has a _version_ field. Just send the unique key and the field that you want to update. The rest of the fields aren't r

RE: Query regarding Solr doc atomic updates

2014-08-04 Thread M, Arjun (NSN - IN/Bangalore)
Hi Shalin, Thanks for the response.. :) In this case, is there any other way to update the document make it the retrieval work? I tried the below code and with this I am getting the version conflict exception. How to avoid this and make it work? SolrInputDocume

Contract vacancy for Search Business Consultant Contract, London

2014-08-04 Thread james.kirk
Dear SOLR user list We are hiring for Search Platform Business Consultant on contract in London. Working for leading global consulting firm from London offices on London / UK major retail clients. I wondered if you may find of interest or be able to recommend in the group. Regar

Re: Solr vs ElasticSearch

2014-08-04 Thread Toke Eskildsen
On Mon, 2014-08-04 at 08:31 +0200, Harald Kirsch wrote: > As for performance, I would expect that it is very hard to find one of > the two technologies to be generally ahead. Except for plain blunders > that may be lurking in the code, I would think the inner loops, the > stuff that really burns

Modify/add/remove params at search component

2014-08-04 Thread Lee Chunki
Hi, I am building a new search component and it runs after QueryComponent. What I want to do is set params like start, rows, query and so on at new search component. I could set/get query by using setQueryString() http://lucene.apache.org/solr/4_9_0/solr-core/org/apache/solr/handler/component/