Live data from Hacker News

Major Changes from Solr 4 to Solr 5

cwiki.apache.org

31–40 of 47 posts

Re: Major Changes from Solr 4 to Solr 5

#31
post #5

Does Solr 5.0 support password-protecting the admin interface yet without spending hours trying to wrangle custom XML files? It seems like a pretty basic requirement for a web-based application. I've tried things like this http://community.zimbra.com/documentation/w/documentation/se... repeatedly. They never seem to work right.

Solr is not a web-based application. You shouldn't directly expose your Solr instance to anyone. Regardless of whether or not you secure your admin interface. That's not Solr's core business, and I don't see why they should was their efforts on it. Have Solr listen on localhost and have your web app talk to Solr. If your Solr is visible to the world, you're doing it wrong. Edit: by saying that it's not a web-based ap…

The admin is a web application I can tell this because I'm looking at my browser. ;) Not wanting to deal with the boring parts of web apps -- that's understandable but not business/user savvy.

Re: Major Changes from Solr 4 to Solr 5

#32
looking at the solr downloads page, I can't seem to find the Solr 5 tarball... Clicking downloads: http://lucene.apache.org/solr/mirrors-solr-latest-redir.html redirects to the 4. tarball, i added 5.0.0.to the url and got the latest tarbal: http://www.apache.org/dyn/closer.cgi/lucene/solr/5.0.0

Re: Major Changes from Solr 4 to Solr 5

#33
post #8
post #5

Earlier quoted context omitted.

Solr is not a web-based application. You shouldn't directly expose your Solr instance to anyone. Regardless of whether or not you secure your admin interface. That's not Solr's core business, and I don't see why they should was their efforts on it. Have Solr listen on localhost and have your web app talk to Solr. If your Solr is visible to the world, you're doing it wrong. Edit: by saying that it's not a web-based ap…

Well, regardless of whether it's web-facing or not, it's not unreasonable to want to limit the access to its admin panel (e.g. in a big company with different teams). I agree however that SOLR is best off doing one thing well, web page security can be implemented e.g. by Apache.

You would be right if the Solr admin page were the only administrative interface. It's not. You could send delete queries, create additional indexes, etc all without using the admin page, simply by sending http requests to the relevant Solr components. Instead of adding overhead by securing each individual call, they leave it up to you.

Or to whichever friendly consultant you decide to hire to help out with that. Wink wink. Nudge nudge.

Re: Major Changes from Solr 4 to Solr 5

#34

Earlier quoted context omitted.

For your use case set up both and then do some testing. Speaking for myself I did that and found that SOLR was a lot more performant. I needed a high-traffic solution without a bunch of servers. I find that ES tries to do too much with all the dashboards and monitoring etc. SOLR keeps it simple and thereby does not incur the performance penalty. Also when an ES cluster goes south (cluster health "yellow" or "red") it…

Does Solr have the same problem as ES where you can't modify an index mapping after creating it? With ES you have to reindex everything into a new temporary index and then swap the new and old indexes. It's a terrible design, especially considering that ES already has all the original data and should be perfectly capable of doing it itself, incrementally.

Often when you want to reindex you want to reindex a lot of data - quickly. You don't want to use your same hardware, possibly. So what you do if you're in AWS, for instance, is take your data mounts and mount them to an extremely high powered set of instances. Then, reindex with the new mappings. Then, move your mounts back to your smaller instances.

You save money and can do a reindex very quickly.

A basic "reindex" command would be a cool feature though.

Re: Major Changes from Solr 4 to Solr 5

#36

At my company, we've been beating our heads to the wall[0] in getting multi-term synonyms to work correctly in SOLR. e.g. fruit extractor => fruit juicer, citrus juicer Does anyone experienced enough have a clue if SOLR 5 can help with that? [0] - http://opensourceconnections.com/blog/2013/10/27/why-is-mult...

I've yet to find a NLP library that can give you multi-term synonyms as accurate that.. let alone a SOLR module/fix.

Re: Major Changes from Solr 4 to Solr 5

#37

Still no percolator/reverse search. ElasticSearch still is my go-to search technology.

I've checked http://www.elasticsearch.org/guide/en/elasticsearch/referenc... But, couldn't grasp the usecase. Can anyone share some thoughts, where will it be helpful?

Re: Major Changes from Solr 4 to Solr 5

#38

Still no percolator/reverse search. ElasticSearch still is my go-to search technology.

I've checked http://www.elasticsearch.org/guide/en/elasticsearch/referenc... But, couldn't grasp the usecase. Can anyone share some thoughts, where will it be helpful?

Your customers pay you to let them know when new data is available.

Re: Major Changes from Solr 4 to Solr 5

#39

At my company, we've been beating our heads to the wall[0] in getting multi-term synonyms to work correctly in SOLR. e.g. fruit extractor => fruit juicer, citrus juicer Does anyone experienced enough have a clue if SOLR 5 can help with that? [0] - http://opensourceconnections.com/blog/2013/10/27/why-is-mult...

You could possibly change the text before indexing to solve this problem.

Re: Major Changes from Solr 4 to Solr 5

#40

Earlier quoted context omitted.

I don't know what you mean when you say backed by the Apache Community, but Elasticsearch is also an open source, apache-licensed project that has a commercial, private counterpart. I think every major open source project has this now (Hadoop has Cloudera/Hortonworks/MapR, Spark has databricks).

>> I don't know what you mean when you say backed by the Apache Community It's a matter of who does the releasing (i.e. curating of patches, responsibility for building community, etc.): Solr is governed by the Apache Software Foundation and associated volunteers, ElasticSearch is governed by the private entity. IMO (and this is an increasingly rare opinion) the license is the most important piece and they're both un…

Governing alone - I don't that thats a good reason. There are plenty of Apache projects that are effectively governed by a private entity (Cassandra, Samza, Kafka, and these are all in the "big data" space), that would most likely be as useful as Elasticsearch if their supporting companies disappeared overnight.
Post reply on HN