Category the result search

2012-04-14 Thread hadi
hi I am new to solr, I crawled about 1000 news site with nutch and i use solr to browse the result, but i want to categorize the sites to some categories like(sport news,politic news,science and etc ..) I know i have to use solr faceting but i do not know how can i do such implementation for solr

Is it possible to grouping solr results by their domain ?

2012-04-08 Thread hadi
I have crawled many site with nutch and using solr 3.4 to browse the results but i want to group the result by their domain. for example if i search one site like tabnak the first result only contain the http://tabnak.ir and do not show the other result from that domain. for example i want to

FTP mount crash when crawling with solrj

2011-12-12 Thread hadi
I have a lots of files in my FTP account,and i use the curlftpfs to mount them to folder and then start index them with solrj api, but after a minutes pass something strange happen and the mounted folder is not accessible and crash,also i can not unmount it and the message device is in use appear,

Update document field with solrj

2011-10-23 Thread hadi
I want to edit document filed in solr,for example edit the author name,so i use the following code in solrj: params.set(literal.author,anaconda) but the author multivalued=true in schema and because of that anaconde is not replace with it's previous name and add to the end of the author name,

How to change default operator in velocity?

2011-10-18 Thread hadi
in solr schema the defaultOperator value is OR but when i use browse(http://localhost:8983/solr/browse)for searching AND is a defaultOperator,and that config in solr is not affect on velocity how can i change the velocity template engine default operators? -- View this message in context:

Re: How to change default operator in velocity?

2011-10-18 Thread hadi
/DisMaxQParserPlugin#mm_.28Minimum_.27Should.27_Match.29 NB: In trunk (4.0), even dismax will respect the defaultOperator from schema. -- Jan Høydahl, search solution architect Cominvent AS - www.cominvent.com Solr Training - www.solrtraining.com On 18. okt. 2011, at 12:36, hadi wrote: in solr

Re: How to change default operator in velocity?

2011-10-18 Thread hadi
AS - www.cominvent.com Solr Training - www.solrtraining.com On 18. okt. 2011, at 15:56, hadi wrote: thanks for your reply,i delete the dismax conf from solrconf.xml and it works,is it any side effect? On 10/18/11, Jan Høydahl / Cominvent [via Lucene] ml-node+s472066n3431189...@n3.nabble.com wrote: Hi

How to update document with solrj?

2011-10-18 Thread hadi
I have indexed some files that do not have any tag or description and i want to add some field without deleting them,how can i update or add info to my index files with solrj? my idea for this issue is query on specific file and delete it and add some info and re index it but i think it is not a

add thumnail image for search result

2011-10-18 Thread hadi
I want to know how can i add thumbnail image for my files when i am indexing files with solrj? thanks -- View this message in context: http://lucene.472066.n3.nabble.com/add-thumnail-image-for-search-result-tp3433440p3433440.html Sent from the Solr - User mailing list archive at Nabble.com.

heap size problem when indexinf files with solrj

2011-09-30 Thread hadi
I write a simple program with solrj that index files but after a minute passed it crashed and the *java.lang.OutOfmemoryError : java heap space* appear I used Eclipse and my memory storage is abou 2GB and i set the -Xms1024M-Xmx2048M for both my VM arg of tomcat and my application in Debug

Re: two cores but have single result set in solr

2011-09-24 Thread hadi
I do not know how to search both cores and not define shard parameter,could you show me some solutions for solve my issue? On 9/24/11, Yury Kats [via Lucene] ml-node+s472066n3363164...@n3.nabble.com wrote: On 9/23/2011 6:00 PM, hadi wrote: I index my files with solrj and crawl my sites

Re: two cores but have single result set in solr

2011-09-24 Thread hadi
that to search both cores? thanks On 9/24/11, Yury Kats [via Lucene] ml-node+s472066n3364157...@n3.nabble.com wrote: On 9/24/2011 3:09 AM, hadi wrote: I do not know how to search both cores and not define shard parameter,could you show me some solutions for solve my issue? See this: http

Search query doesn't work in solr/browse pnnel

2011-09-23 Thread hadi
When I create a query like somethingfl=content in solr/browse the and = in URL converted to %26 and %3D and no result occurs. but it works in solr/admin advanced search and also in URL bar directly, How can I solve this problem? Thanks -- View this message in context:

Re: two cores but have single result set in solr

2011-09-23 Thread hadi
I index my files with solrj and crawl my sites with nutch 1.3 ,as you know, i have to overwrite the nutch schema on solr schema in order to have view the result in solr/browse, in this case i should define two cores,but i want have single result or the user can search into both core indexes at the

no result when searching sentences in solr

2011-09-21 Thread hadi
I index some pdf and docx with solrj and when i want to create query some sentences like We'd be glad to have you accompany or anything else, the result is empty. is it any configuration? i mention that i create query in /solr/browse -- View this message in context:

integrate solr and nutch index

2011-09-17 Thread hadi
I want to index my video and image files with solrj api's and index my sites with nutch 1.3,but the problem is : i should overwrite the nutch schema on solr schema to index the sites,if i do this i lost the solr schema and i couldnt index files with solrj,how can i solve this problem ? should i