Java Lucene Integration with .Net

I have set up nutch and lucene to crawl and index some sites, and I would like to use the .net website instead of the JSP site that comes with nutch.

Can anyone recommend some solutions?

I saw solutions that had an application running on an index server that uses a .Net site to connect to.

Speed ​​is a consideration, obviously, can this still work well?

Edit: Can NHibernate.Search work for this?

Edit: We ended up working with Solr index servers that are used by our ASP.net site with solrnet .

+3
source share
6 answers

Lucene Solr nutch (. ), Solr, : SolrSharp SolrNet.

+3

, , Lucene.NET Lucene (Java) , ( Java) , Lucene.NET - .NET .

Lucene.NET:

API #, Java Lucene # Lucene. , Java Lucene back-and-forth # Lucene; , . Lucene Java Lucene # Lucene

+5

.

http://today.java.net/pub/a/today/2006/02/16/introduction-to-nutch-2.html

, nutch rss-.

:

. (searchurl query), URL- . datagrid.

private void Form1_Load(object sender, EventArgs e)
        {
            searchurl.Text = "http://localhost:8080/opensearch?query=";


    }

    private void search_Click(object sender, EventArgs e)
    {
        string uri;

        uri = searchurl.Text.ToString() + query.Text.ToString();
        Console.WriteLine(uri);

        XmlDocument myXMLDocument = new XmlDocument();

        myXMLDocument.Load(uri);

        DataSet ds = new DataSet();

        ds.ReadXml(new XmlNodeReader(myXMLDocument));

        SearchResultsGridView1.DataSource = ds;
        SearchResultsGridView1.DataMember = "item";

    }
+1

SolrNet SolrSharp, , .

, SolarSharp - ( ), SolarNet.

, -, , :)

+1

Solr java-, cron, - Java . , , .net . , 4 , , (: , , , ).

XSD -, .net java . - xml . .net . json- JavaScript.

0

java lucene dot net-. , , . , - , , . - , ...

0

Source: https://habr.com/ru/post/1698297/


All Articles