Lucene.Net and Geosearch - is it outthere somewhere? - lucene

I've found an interesting article about Lucene and geosearching:
http://sujitpal.blogspot.com/2008/02/spatial-search-with-lucene.html
Is there an equivilant .NET implementation out there that I have been unable to find or do I have to rework the Java-code in his example to fit in the .NET Framework?

I came across this article, as well. I do not see a .NET-specific in my Googling, so I am planning on probably porting this code when the need arises, as well. Right now, I am just getting my feet wet with Lucene.NET and have not gotten to the point that I am comfortable enough with it to start extending it, yet.
The code in the article appears to be a derived example of the conceptual geo-distance functionality outlined in Lucene In Action. Although the book is based on the Java product, it is a great read. The samples port easily and it is full of information.

in the latest lucene.net contrib folder there is spatial contribution to perform geosearch see
https://svn.apache.org/repos/asf/incubator/lucene.net/tags/Lucene.Net_2_9_1/contrib/Spatial.Net/

With Lucene.NET 3.0.3, soon to be released, there is a brand new spatial contrib. See:
http://www.code972.com/blog/2012/05/the-future-of-geo-spatial-searches-with-lucene/

There is worked example at https://www.leapinggorilla.com/Blog/Read/1010/spatial-search-in-lucenenet---worked-example
Regards
Ismail

Related

Can we use Google Translate API to index files for searching?

I am using Lucene 4.2.1 to index files. I need to index multilingual content for which we use Analyzer based on the language, to tokenize and index keywords. However Lucene 4.2.1 does not have analyzers for some languages like Japanese, Korean. The one solution to this is updating the lucene version but since that involves a lot of changes for deprecated functions (in case), I'm trying to find a work around. Does anyone have any suggestions? Thank you!
Personally i would strongly suggest to invest this amount of time and upgrade to the most recent version. This "problem" is already solved in the never versions and building an own written solution may be much more time consuming than upgrading.
IMAO working with such an old version is a technical dept which should be solved. Technical dept always fires back and usually costs much more money as longer as they exist.
Not Sure - But Got This on Google. The Google Cloud Translation API can dynamically translate text between thousands of language pairs. The Cloud Translation API lets websites and programs integrate with the translation service programmatically. The Google Translation API is part of the larger Cloud Machine Learning API family. Please Refer Here Too https://cloud.google.com/translate/docs/ Cotton bags supplier in Dubai

Objective C ORM

I am new to Objective C. In previous practice I accustomed to use ORM-like frameworks to access the database.
Could anyone please recommend any decent ORM framework for Objective C?
The following are for SQLite on iOS:
FMDB
chibi-ORM
sqlitepersistentobjects
UPDATE: DBAccess has now been replaced by the open source ORM Shark.
We have recently released a free to distribute and use ORM for Objective-c / iOS called DBAccess, which can be downloaded from http://db-access.org/, it has taken several years to develop and has now been deployed within many applications.
The documentation is fairly basic, but is slowly getting created/updated and we welcome community feedback and suggestions.
There is also a roadmap available to detail what features are going to be released in the up-coming releases.
It may not be for everyone, but I hope our effort will help some in the community.
NOTE, I have been alerted to the fact that it is bad form to promote your own products in a forum such as this, but I just wanted to add that I am only posting this in answer to the OP because I feel it does bring something useful to the table and I sincerely hope it will prove helpful to some people, even if it's not for everyone.
UPDATE: DBAccess has now been replaced by the open source ORM Shark. It is API compatible, and is available on github. http://sharkorm.com and https://github.com/sharksync/sharkorm
Thanks Adrian_H
There are a lot of alternatives out there, but in my opinion, nothing is better than Apple's Core Data. It is easy to use and implement, and is incredibly well documented (as everything that comes from Apple).
One excellent resource to learn Core Data quickly and use it right away is Paul Hegarty's CS193P videos available on iTunes U, which you can download using the following link:
http://itunes.apple.com/WebObjects/MZStore.woa/wa/viewPodcast?id=480479762
SQPersist is a Objective-C Persistence framework wrapper around SQLite based on FMDB :
Visit Github page
I totally recommend Realm. IMHO it is an excellent choice for its simplicity and performance.

How to index/query nested documents in lucene 3.4?

I'm looking for a way to understand how the newly implemented nested document feature works in lucene 3.4. There doesn't seem to be any tutorial available on the net yet considering that it's a very recent feature. Can somebody please demonstrate on how to index/query them? Would be very helpful, thanks a lot :-).
Ananth.
I just made a blog post about using BlockJoinQuery:
http://blog.mikemccandless.com/2012/01/searching-relational-content-with.html

Full text search for Rails 3

I’m evaluating full text search methods for Rails 3 ATM. Does anyone here have a recommendation? Seems to me as if most of the known methods (Sunspot, Sphinx, Ferret, Xapian) aren’t yet ready for Rails 3. Is that so? At the moment I’ve got plenty of resources left on the machine were I’d like to deploy my app but nevertheless, I’d like to keep the idle load for the search engine as low as possible. I’m planning to use PostgreSQL if that’s of any relevance here.
After some reading I’m almost sure that I’d like to use Sunspot or Xapian. But if there’s any other (and better) solution please tell me :-) Especially regarding Sunspot I’m not sure if it was clever to have a complete Tomcat running in addition to my Rails app. Anyone has experience with this constellation?
Thanks in advance,
Ulf
If you are using PostgreSQL you can get an awful lot out of its built-in text search capabilities before you need to reach for external libraries. I've been using tsearch queries for years with excellent results.
PostgreSQL full text search analyses word proximity to calculate Relevance & ranking and offers useful features like highlighting of search results.
It is also aware of language specific normalisation rules, for example it knows to ignore the s and es pluralization suffixes in English; so searches for 'country' will also bring back highlighted results for 'countries', much the same way that Google does.
I'm not suggesting that you shouldn't use the libraries that you've mentioned, but it is worth investigating the database to see if will already fulfil the majority, if not all of your requirements.
You can use sunspot with Rails3, no problem. We have done so successfully using the sunspot/sunspot_rails gems (1.2.rc4). And it's not too much of a hassle to run Solr within a Tomcat server.
For fulltext-search features you should use a search engine.
For example you could use the Lucene Library with jRuby.
If you like to stay with standard Ruby (cRuby) you coud use Solr.
For rails there are also some Solr plugins:
For example starting with http://wiki.apache.org/solr/SolRuby could be a good idea.
Sunspot is Rails3 ready, we're using it on a few Rails3 apps already. I've had a lot of success with Solr and Sunspot. So much that we're starting a blog series on it

Examples of Cocoa/Objective-C and Distributed Objects?

I am learning Cocoa and Objective-C (well, and C) to make a few Mac apps I've had floating around. I need to use Distributed Objects, but am having trouble finding simple, concise examples. Does anybody know of any?
A google search came up with plenty of hits. The Apple docs are also good. Late Night Cocoa also has an episode on it.
I maintain the comp.lang.objective-c FAQ, and there's an example in there: How can I forward messages between remote objects? It's very short but should give you the basic idea, on which you can then hang the Apple and GNUstep docs to which it links.
It's a fairly old article but this is probably a good starting point for distributed objects. I personally found it easier to start with the older tutorials and work my way up to the more recent ones which use new technologies such as Core Data.
http://cocoadevcentral.com/articles/000062.php
I discovered this project at SourceForge which is a fairly large Cocoa project. It uses bonjour and distributed objects, and other then that I've found it to be a good resource and example. Just thought I'd put that out there in case anybody comes across this question.