Using lucene .net & Solr at the same time
hi everyone, I have a system written in .net that I'm using lucene .net. I'm thinking of changing that system to be based on solr instead of lucene. My situation is that I have a lot of code that was written in .net, that I don't want to waste because moving to solr makes me to change code to java. I have an idea, but I want to make sure is OK to do that: I want to keep the .net code as it is. The only change will be the write to the index and the read from the index. I want to translate (by object serialize or hard coded serialize) the Query in search side & document in index side to text, and then call the http interface from the .net code. Is that idea can work ? what am I losing with that solution ? My concern is about the analyzers. Is it ok to call the .net analyzers (in search & index), and then let solr get the data without any data handling ? thanks, -- View this message in context: http://lucene.472066.n3.nabble.com/Using-lucene-net-Solr-at-the-same-time-tp4029953.html Sent from the Solr - User mailing list archive at Nabble.com.
Re: Using lucene .net & Solr at the same time
thanks shawn for your answer. I know that all of the analyzers, tokenizers, filters usally are on server side. That is exactly my question, if I will take them outside the engine, and do it outside, is it still work the same ? -- View this message in context: http://lucene.472066.n3.nabble.com/Using-lucene-net-Solr-at-the-same-time-tp4029953p4029957.html Sent from the Solr - User mailing list archive at Nabble.com.
Re: Using lucene .net & Solr at the same time
The code that I don't want to rewrite is the analyzers. I have written many analyzers. I know the benefits of solr, I just want to spend as less time as I can to see the system in solr. I don't think you understood my idea: 1. The data handling will be just in lucene .net. 2. The index itself will be in solr. 3. The solr schema contains all fields, but in primitive form. I agree that managing the schema in two different places can be dangerous. -- View this message in context: http://lucene.472066.n3.nabble.com/Using-lucene-net-Solr-at-the-same-time-tp4029953p4029960.html Sent from the Solr - User mailing list archive at Nabble.com.