requested url solr/update/extract not available on this server

2013-09-15 Thread Nutan
I am working on Solr 4.2 on Windows 7. I am trying to index pdf files.I referred Solr Cookbook 4. Tomcat is using 8080 port number. I get this error:requested url solr/update/extract not available on this server When my curl is : curl

solr/document/select not available

2013-09-15 Thread Nutan
I get this error : solr/select not available.I am using two cores document and contract.Solrconfig.xml of document core is : ?xml version=1.0 encoding=UTF-8 ? config luceneMatchVersionLUCENE_42/luceneMatchVersion dataDir${solr.collection1.data.dir:}/dataDir /requestDispatcher lib

searching within documents

2013-09-15 Thread Nutan
this is my schema.xml : schema name=documents fields field name=id type=string indexed=true stored=true required=true multiValued=false/ field name=author type=string indexed=true stored=true multiValued=true/ field name=comments type=text indexed=true stored=true multiValued=false/ field

Re: searching within documents

2013-09-15 Thread Gora Mohanty
On 15 September 2013 17:20, Nutan nutanshinde1...@gmail.com wrote: this is my schema.xml : You do not provide nearly enough information for people to be able to help you. Is that the entirety of your schema.xml? If so, it is missing various important bits such as a defaultSearchField and

Re: searching within documents

2013-09-15 Thread Nutan
That is my whole schema.xml file. I did not define default and copy field.I am new to solr,never read about its need for full-text search.Can you please send me any link for configurations to search within documents.I did follow Solr cookbook 4. Thanks a lot. On Sun, Sep 15, 2013 at 5:39 PM,

Re: Solr Java Client

2013-09-15 Thread Baskar Sikkayan
Hi, Thank you very much for your reply. Let me clearly explain my requirement. Its a kind of job site. I have 2 tables that need to be added in solr. 1) employee ( id, name, skills, location, .) 2) job_postings ( id, name, job title, description, salary, date_posted, ) Here, there

Re: searching within documents

2013-09-15 Thread Erick Erickson
Stop. Back up. Start from the beginning. Reiterating what Gora was saying, you're jumping into the middle of your problem. Start at the beginning. Have you been able to just do the example without changing anything else? I.e. are you sure you have a working installation under Tomcat? Don't try

Re: Solr Java Client

2013-09-15 Thread Erick Erickson
Listen to Wunder. You really have to switch gears and think in terms of searching rather than database tables. First, there's no requirement that all documents have the same fields. There's very little penalty for this. Second, you have to get over normalized data. It's unclear how many

Re: requested url solr/update/extract not available on this server

2013-09-15 Thread Jack Krupansky
Is /solr/update working? Check solrconfig to see that /update/extract is configured as in the standard Solr example. Does /solr/update/extract work for you using the standard Solr example? -- Jack Krupansky -Original Message- From: Nutan Sent: Sunday, September 15, 2013 2:37 AM

Re: Solr Java Client

2013-09-15 Thread Baskar Sikkayan
Hi Erick, Thanks a lot for your reply. I am still not clear. I will have 2 different searches. So, there will be 2 different kind of documents with different fields. But the example below, gives me a impression that SolrInputDocument doc = new SolrInputDocument();even there are 2 diff

Re: Solr Java Client

2013-09-15 Thread Erick Erickson
Put the data in two different fields. You can also include a type field and use the fq=type:type1 or fq=type:type2 if you need to distinguish them separately. Best, Erick On Sun, Sep 15, 2013 at 11:00 AM, Baskar Sikkayan baskar@gmail.comwrote: Hi Erick, Thanks a lot for your reply. I

Re: Solr Java Client

2013-09-15 Thread Baskar Sikkayan
Hi, Thanks for the reply. I got it now. Is there XSD for schema.xml and solrconfig.xml? Also, if i have two different fields with different filed type, how can differentiate it in SolrJava client. SolrInputDocument doc = new SolrInputDocument(); doc.addField(cat, book);

Re: Solr Java Client

2013-09-15 Thread Gora Mohanty
Dear Baskar, It seems that you are trying to jump into the middle, and have a complete understanding of everything before trying things. This makes things difficult both for yourself, and for people trying to help you. Solr can be a little complex for beginners, so it is best to approach things a

Re: Solr Java Client

2013-09-15 Thread Gora Mohanty
On 15 September 2013 21:36, Baskar Sikkayan baskar@gmail.com wrote: Hi, Thanks for the reply. I got it now. Is there XSD for schema.xml and solrconfig.xml? Also, if i have two different fields with different filed type, how can differentiate it in SolrJava client. SolrInputDocument

Re: Solr Patent

2013-09-15 Thread Benson Margulies
I am not a lawyer. The Apache Software Foundation cannot 'protect Solr developers.' Patent infringement is a claim made against someone who derived economic benefit from an invention, not someone who writes code. The patent clause in the Apache License requires people who contribute code to

Re: Solr Java Client

2013-09-15 Thread Baskar Sikkayan
Hi, I read few chapters of solr cookbook and hope, I have good basic understanding of Apache solr and Datahandler. I was able to modify the field and all. I am able to understand now, what i was advised to do. Have a question now. I know in solr its flat file system and the data will be in

Re: Committing when indexing in parallel

2013-09-15 Thread Phani Chaitanya
Thanks Jack. In this case my question is just out of curiosity around what happens in the scenario I mentioned. Nothing else. Regards, Phani. - Phani Chaitanya -- View this message in context: http://lucene.472066.n3.nabble.com/Committing-when-indexing-in-parallel-tp4089953p4090243.html

Re: Committing when indexing in parallel

2013-09-15 Thread Yonik Seeley
On Fri, Sep 13, 2013 at 5:21 PM, Phani Chaitanya pvempaty@gmail.com wrote: I'm wondering what happens to commit while we are indexing in parallel in Solr. Are the indexing update requests blocked until the commit finishes ? Nope. The add (updates) and commit can proceed in parallel.

Re: Committing when indexing in parallel

2013-09-15 Thread Phani Chaitanya
Thanks Yonik. - Phani Chaitanya -- View this message in context: http://lucene.472066.n3.nabble.com/Committing-when-indexing-in-parallel-tp4089953p4090246.html Sent from the Solr - User mailing list archive at Nabble.com.

sorl4.4:solrcloud shard state is active,but all replicas state became to down??

2013-09-15 Thread zhaoxin
after solrcloud run oneday ,zookeeper: /clusterstate.json,shard state is active,but all replicas stats are down! shard5:{ range:4ccc-7fff, state:active, replicas:{ core_node1:{ state:down, core:core5,

Re: Wrapper for SOLR for Compression

2013-09-15 Thread William Bell
OK I get it now... I love your suggestion : We could probably ship a bunch of CompressingStoredFieldsFormat and CompressingTermVectorsFormat variants, each using a diff compression level, to make configuration easier -- but it would not be a trivial new option to add. On Fri, Sep 13, 2013 at

Frequent softCommits leading to high faceting times?

2013-09-15 Thread Rohit Kumar
Hi, We are running *SOLR 4.3* with 8 Gb of index on Ubuntu 12.04 64 bits Intel(R) Xeon(R) CPU E5-2650 0 @ 2.00GHz Single core. 16GB RAM We just started using the autoSoftCommit feature and noticed the facet queries slowed down from milliseconds taking earlier to a minute. We have *8 facet