Beginners Lucene tutorial [closed] - java

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
Questions asking us to recommend or find a tool, library or favorite off-site resource are off-topic for Stack Overflow as they tend to attract opinionated answers and spam. Instead, describe the problem and what has been done so far to solve it.
Closed 9 years ago.
Improve this question
I've never done anything in Java before but I'd like to use Lucene for the search on a site.
I'm having trouble find a good step by step tutorial for a complete beginner at this.
Can anyone recommend a good tutorial?
Thanks

Along with user428747 answer, you can also read this article.
As well as this one (which is kind of old compared to the first one).
On a side note, if you want to use Lucene, did you consider using Solr?
It uses the lucene search library and extends it as you can read here.

The classics: Lucene in Action

this website might help you a bit..
http://www.lucenetutorial.com/lucene-in-5-minutes.html

This is not a direct reply to your question on Lucene tutorials (For that, my answer is same as some of the other posters: Bob Carpenter's Lucene in 60 seconds tutorial on the Lingpipe blog).
If you don't want to learn Java just for Lucene, any full-text search database (Postgres/Mysql/etc) should solve your purpose. In particular Sphinx is recommended.
This decision particularly relevant if you need your search app to have high performance / scalability (since you will be learning two things - Java and Lucene). Unless you have an in-house java expert, it is better to fight one war than two at the same time.

maybe apache solr is better for you: http://lucene.apache.org/solr/

If you're using Zend, why aren't you using Zend's PHP port of lucene? See here for a tutorial on it.

Related

Machine Learning framework with Hadoop [closed]

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
Questions asking us to recommend or find a tool, library or favorite off-site resource are off-topic for Stack Overflow as they tend to attract opinionated answers and spam. Instead, describe the problem and what has been done so far to solve it.
Closed 9 years ago.
Improve this question
Which other frameworks exists besides Mahout for implementing Machine Learning algorithms in JAVA such that the underlying framework takes the JAVA code and runs it on Hadoop?
I am looking for alternatives to Mahout because I am need of a SVM and an Agglomerative Clustering implementation on Hadoop, and only SVM is supported in Mahout.
I recommend you guys for Apache Hadoop based machine learning / data mining library like Apache Mahout.
http://www.openankus.org/pages/viewpage.action?pageId=2195722
It is so simple and easy mapreduce job processing. Are you interested in? See more wiki (http://www.openankus.org)
Well, if SVM is on hadoop, the rest is easy to implement!
Note that naive agglomerative clustering algorithm is not efficient for large data ( O(n^2) complexity). Such complexity makes it impossible to run the algorithm on a large dataset, even on a big cluster, unless you try one of its extensions like this one: ftp://193.167.42.127/franti/papers/GraphPnn-TPAMI.pdf
Pattern. It has a Java API and you can use R too.
http://www.cascading.org/pattern/
A quick Googling gave the following
http://java-ml.sourceforge.net/ - After close to 3 years, there was a release. Not sure how well it is supported and what algorithms are implemented.
http://sourceforge.net/projects/weka/ - Some recent recommendations by others look good.
Also, see this thread.
Haven't tried both of them.

Java Learning Tasks + Solution (mini project) [closed]

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
Questions asking us to recommend or find a tool, library or favorite off-site resource are off-topic for Stack Overflow as they tend to attract opinionated answers and spam. Instead, describe the problem and what has been done so far to solve it.
Closed 9 years ago.
Improve this question
I'm currently reading Head First Java, and I am wondering if there any websites or books? that I could go to that would set out some sort of task or assignment for me to practice on. In order to gain a better practical understanding of java. Even something like a mini project and then at the end I could see a completed solution that would show me areas I could of improved my code.
Even a Step by Step project tutorial for creating a game perhaps?
Has anyone got any resources like this?
Thanks
Code Kata is a good place to find various programming assignments, and those are not language-specific. So, there's no real "one solution" to them, but they are a good way to get you thinking about different classes of problems.
I'm pretty sure I've seen another site much like that, but can't seem to think of which one it might have been right now.
Or, if you are mthematical inclined, try Project Euler.
take a look at this site it has lots of mini project related to java
http://www.1000projects.com/new/java/mini/main.html
Java Student Projects
http://mindprod.com/project/projects.html
Example Depot is a great place for real-life java examples. Try looking at examples and combining them to create a real application.
If you want more theoretical assignments: http://www.psc-consulting.ca/fenske/cpjava.htm

Java BitTorrent library [closed]

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
Questions asking us to recommend or find a book, tool, software library, tutorial or other off-site resource are off-topic for Stack Overflow as they tend to attract opinionated answers and spam. Instead, describe the problem and what has been done so far to solve it.
Closed 8 years ago.
Improve this question
Are there any decent BitTorrent libraries for Java? I need to program a simple torrent client, but it would be great if I didn't have to write everything from scratch.
Turn's TTorrent is a pure Java bit torrent library.
Snark by Three Rings is a very lightweight bitorrent library that will give you basic torrent features.
Was originally written by Mark Wielaard. A github source can be found here https://github.com/akerigan/born-again-snark
I have created a Bitlet Fork on Github.
It's LGPLed, and it's running faster than ttorent.
Azureus (now named Vuze) gives you a plugin API. Using this API you can plug your code into Azureus. Start it inside your program, and listen/respond to its events.
Azureus is written in Java - is most likely not "simple" but quite likely "decent" :)
Adding to answer from jjnguy : The code seems to be at http://code.google.com/p/snark/ and not in the repo pointed to in the link you've provided.
I've not used it, but a Google search showed up YAIRCC. Describes itself as "A lightweight Java Bittorrent library and client".
Transdroid and Transdroid-desktop are libraries for adroid, that can also be used in java to control existing torrent clients.

Java Open Source Workflow Engines [closed]

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
Questions asking us to recommend or find a book, tool, software library, tutorial or other off-site resource are off-topic for Stack Overflow as they tend to attract opinionated answers and spam. Instead, describe the problem and what has been done so far to solve it.
Closed 8 years ago.
Improve this question
What is the best open source java workflow framework (e.g. OSWorkflow, jBPM, XFlow etc.)?
Here's an article that compares kBPM, OpenWFE, and Enhydra Shark that looks like it has some good, thorough info.
It depends what kind of initial investment you want to make. jBPM is the best in terms of features and flexibility, but OSWorkflow is a more lightweight, easier to get up and running and has with a smaller learning curve.
Drools Flow is the best workflow solution that I came across recently. It has a luxury to be better than other solutions, since it is built and designed recently, and based on lessons learned from other long existing, somewhat over engineered frameworks.
Drools Flow comes as a community project along with an official Drools 5 release that besides Flow includes: Guvnor, Expert and Fusion.
Unfortunately Drools Flow does not have an official Red Hat support contract yet, and that is a stopper for some big corporations to consider it. One might think the support is not there for political reasons due to the jBPM project living under same support roof.
I'll cast a vote for jBPM. We used it on a larg-ish ETL platform in-house and it seemed to work quite well. I don't have anything to compare it to, however.
YAWL - Yet another workflow Language
http://en.wikipedia.org/wiki/YAWL

Charting library for Java and .Net [closed]

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
Questions asking us to recommend or find a tool, library or favorite off-site resource are off-topic for Stack Overflow as they tend to attract opinionated answers and spam. Instead, describe the problem and what has been done so far to solve it.
Closed 9 years ago.
Improve this question
Can anyone recommend a library for chart generation (bar charts, pie charts etc.) which runs on both Java and .Net?
ChartDirector is fantastic and supports more than just Java and .NET.
Have you looking into using JFreeChart. I have used it on a few Java projects and its very configurable. Its free but I think you can purchase the developers guide for $50. Its good for quick simple charts too. However performance for real-time data is not quite up to par (Check out the FAQ).
They also have a port to .NET however I have never used it.
Hope that helps.
Dundas Charts was about the easiest thing ever to get up and producing amazing looking charts.
Flash Charts.
http://www.fusioncharts.com/free/Gallery.asp
You could also try Open Flash Charts
ChartFX (http://www.softwarefx.com) has been a leader in charting for years. I personally have used several different versions for over 8 years and it is rock solid.
I have re-evaluated charting options periodically, and ChartFX has won in my environment based almost purely on feature set. It is not free or cheap, but it is well worth the price they charge.
-Geoffrey
Here is a belated answer:
Use the Google Chart API. It will allow you to create charts in a programming language and platform agnostic way -- assuming your app will have an Internet connection at all times. Use it in combination with .Net and Java wrapper APIs that you can find here.
I wrote one: charts4j.

Categories

Resources