Re: Solr vs ElasticSearch

2014-08-04 Thread Harald Kirsch
Except if I missed it, nobody yet pointed to http://solr-vs-elasticsearch.com/ which seems to be fairly up-to-date. 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

Re: How to search for phrase IAE_UPC_0001

2014-08-04 Thread Harald Kirsch
This all depends on how the tokenizers take your URLs apart. To quickly see what ended up in the index, go to a core in the UI, select Schema Browser, select the field containing your URLs, click on Load Term Info. In your case, for the field holding the URL you could try to switch to a

Re: Solr vs ElasticSearch

2014-08-04 Thread Alexandre Rafalovitch
That resource is rather superficial. I wouldn't make big decision based on it. As to performance, ElasticSearch stores the full submitted content as _source field. That allows it some extra tricks (like fake-nested documents), but also has a storage price. You can disable the _source field, but

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()

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

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.

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?

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

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:

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: 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: Solr vs ElasticSearch

2014-08-04 Thread Yonik Seeley
On Mon, Aug 4, 2014 at 2:43 AM, Alexandre Rafalovitch arafa...@gmail.com 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

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

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: 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

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 accent and get

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

Re: Auto Complete

2014-08-04 Thread benjelloun
here is my configuration: searchComponent class=solr.SpellCheckComponent name=suggests lst name=spellchecker str name=namesuggestDic/str str name=classnameorg.apache.solr.spelling.suggest.Suggester/str str

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

Re: Stand alone Solr - no zookeeper?

2014-08-04 Thread Yonik Seeley
On Fri, Aug 1, 2014 at 10:48 AM, Joel Cohen jco...@grubhub.com 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

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: 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.

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|

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 items

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 prem1...@gmail.com 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

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

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: 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

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, the

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

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

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

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: field name=latLong type=location indexed=true stored=true/ dynamicField name=*_coordinate type=tdouble indexed=true stored=false/ fieldType name=location class=solr.LatLonType subFieldSuffix=_coordinate/ 2014-08-04 22:28

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 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): add doc field name=idEN7800GTX/2DHTV/256M/field field name=manu_id_s update=seteoe

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 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 smitharaji...@gmail.com wrote: Hi Solr Experts, Request you to please help me in fixing