Re: Search on content_type

2011-10-05 Thread ahmad ajiloo
I could solve it. by using fq parameter: fq=type:pdf but I want to have both pdf files and other formats like doc and docx. what query should i use to have pdf,doc and docx files in my search? On Tue, Oct 4, 2011 at 9:23 PM, ahmad ajiloo wrote: > Hi > I'm using Nutch for crawing and

Re: Indexing PDF

2011-10-04 Thread ahmad ajiloo
I have this problem too, in indexing some of persian pdf files. 2011/10/4 Héctor Trujillo > Hi all, I'm indexing pdf's files with SolrJ, and most of them work. But > with > some files I’ve got problems because they stored estrange characters. I got > stored this content: > +++ > > Starting a

Search on content_type

2011-10-04 Thread ahmad ajiloo
Hi I'm using Nutch for crawing and indexed my data by using index-more plugin and added my required field (like content_type) to schema.xml in Solr. Now how can i search on pdf files (a kind of content_types) using this new index? what query should i enter to have a search on pdf files in Solr?

Re: indexing a xml file

2011-09-27 Thread ahmad ajiloo
find the attachments. thanks On Sun, Sep 25, 2011 at 7:41 AM, Bill Bell wrote: > Send us the example "solr.xml" and "schema.xml'". You are missing fields > in the schema.xml that you are referencing. > > On 9/24/11 8:15 AM, "ahmad ajiloo" wrote:

indexing a xml file

2011-09-24 Thread ahmad ajiloo
hello Solr Tutorial page explains about index a xml file. but when I try to index a xml file with this command: ~/Desktop/apache-solr-3.3.0/example/exampledocs$ java -jar post.jar solr.xml I get this error: SimplePostTool: FATAL: Solr returned an error #400 ERROR:unknown field 'name' can anyone he

Re: Sending pdf files to slor for indexing

2011-09-24 Thread ahmad ajiloo
x27;Powered by Jetty:// - My command is: curl "http://localhost:8983/solr/update/extract?literal.id=doc1&commit=true"; -F "myfile=@ebrat.pdf" On Sat, Sep 24, 2011 at 1:33 PM, ahmad ajiloo wrote: > Hi all > I want t

Sending pdf files to slor for indexing

2011-09-24 Thread ahmad ajiloo
Hi all I want to send a pdf file to slor for indexing. there is a command to send Solr a file via HTTP POST: http://wiki.apache.org/solr/ExtractingRequestHandler#Getting_Started_with_the_Solr_Example but "*curl*" is for linux and I want to use Solr in Windows. thanks a lot.

How to delete all of the Indexed data?

2011-09-23 Thread ahmad ajiloo
Hi all I sent my data from Nutch to Solr for indexing and searching. Now I want to delete all of the indexed data sent from Nutch. Can anyone help me? thanks

Re: where is the SOLR_HOME ?

2011-09-22 Thread ahmad ajiloo
etermine which JAR files Solr > is loading and I'm pretty sure that it's loading all the files you need. > The > problem may be that you must also include > "apache-solr-analysis-extras-3.3.0.jar" from the "apache-solr-3.3.0/dist&quo

where is the SOLR_HOME ?

2011-09-13 Thread ahmad ajiloo
Hi In this page ( http://wiki.apache.org/solr/AnalyzersTokenizersTokenFilters#solr.ICUTokenizerFactory )said: "Note: to use th

Re: How to serach on specific file types ?

2011-09-13 Thread ahmad ajiloo
to your index (that is what we did when we were > testing indexing documents with Solr) > 2) Put a mime type for the document into your index. > 3) Put the whole file name / URL into your index, and match on part of the > name. This will give some false positives. > > JRJ

Fwd: How to serach on specific file types ?

2011-09-12 Thread ahmad ajiloo
Hello I want to search on articles. So need to find only specific files like doc, docx, and pdf. I don't need any html pages. Thus the result of our search should only consists of doc, docx, and pdf files. can you help me?