failed to store solr index in hadoop 2.2.0

2014-01-07 Thread javozzo
Hi, I'm new in Solr. I use solr 4.6 and hadoop 2.2.0 I tried to store solr index in the hdfs following this tutorial https://cwiki.apache.org/confluence/display/solr/Running+Solr+on+HDFS i have no error in log file but in the filesystem the index is not created. Any ideas about the problem? Than

Solr 4.4.0 on hadoop 2.2.0

2013-12-13 Thread javozzo
Hi, I'm new in Solr. I tried to store the solr data in A distributed filesystem (Hadoop in this case). I'm following this tutorial https://cwiki.apache.org/confluence/display/solr/Running+Solr+on+HDFS but i have a problem when i set this field -Dsolr.data.dir=hdfs://host:port/path Which is t

solr highlighting

2013-11-19 Thread javozzo
Hi, i'm new in Solr. I use Solr-3.6.o and i tried to use the highlighting parameters to obtaine a result like Goolge. (if the searched word appears in the title, this word must be bold). Example searched word = solr retrieve document title welcome in *Solr* the highlighting parameters that i use

Re: How to extract a field with a prefixed dimension?

2013-10-22 Thread javozzo
Hi Upayavira, this is an example of what i do. i have in content field this string "This is a text content in this document" and i would to extract this "This is a text" How can i do this? Thanks Danilo -- View this message in context: http://lucene.472066.n3.nabble.com/How-to-ex

How to extract a field with a prefixed dimension?

2013-10-21 Thread javozzo
Hi, i'm new in solr. i use the content field to extract the text of solr documents, but this field is too long. Is there a way to extract only a substring of this field? i make my query in java as follow: SolrQuery querySolr = new SolrQuery(); querySolr.setQuery("*:*"); querySolr.setRows(3); quer

Re: how to retireve content page in solr

2013-10-18 Thread javozzo
hi Harshvardhan Ojha; i'm using nutch 1.1 and solr 3.6.0. I mean whole document. I try to create a search engine with nutch and solr and i would obtain a interface like this: name1 http://www.prova.com/name1.html first rows of content document name2 http://www.prova.com/name2.html first rows of c

how to retireve content page in solr

2013-10-18 Thread javozzo
Hi, i'm new in solr. I use Nutch 1.1 to crawl web pages. I use solr to indexer these pages. My problem is: how to retrieve the content information about a document "stored" il solr? Example If I have a page http://www.prova.com/prova.html that contains the text "This is a web page" Is there a w