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

2013-09-14 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 "http://localhost:8080/solr/update/extract?literal.id=1&commit=t

Re: Committing when indexing in parallel

2013-09-14 Thread Jack Krupansky
You really are barking up the wrong tree here. Solr is a search engine, designed for batch update and "eventual consistency". This fantasy you have of knowing exactly when a document is committed is completely inappropriate with Solr. Sure, you can in fact do a hard commit at any time to guarant

Re: Solr Java Client

2013-09-14 Thread Walter Underwood
Solr does not have tables, and you can't add an index. Solr's data model is flat, like a single table with lots of columns. Think about creating a view where each row has all the information for one search result. It includes everything that is searched (indexed=true in the schema) and returned

Re: Solr Java Client

2013-09-14 Thread Amit Jha
Question is not clear to me. Please be more elaborative in your query. Why do u want to store index to DB tables? Rgds AJ On 15-Sep-2013, at 7:20, Baskar Sikkayan wrote: > How to add index to 3 diff tables from java ... > > > On Sun, Sep 15, 2013 at 6:49 AM, Amit Jha wrote: > >> Add a fie

Re: Solr PingQuery

2013-09-14 Thread Shawn Heisey
On 9/14/2013 6:57 AM, Prasi S wrote: > I use SolrPingResponse.getStatus method to start indexing to solr. I use > SolrCloud with external zookeeper > > If i send it to the Zookeeper, if zookeeper is down, it returns NOTOK. > > But if one of my solr is up and second solr is down, the Ping returns

Re: Solr Java Client

2013-09-14 Thread Baskar Sikkayan
How to add index to 3 diff tables from java ... On Sun, Sep 15, 2013 at 6:49 AM, Amit Jha wrote: > Add a field called "source" in schema.xml and value would be your table > names. > > > > Rgds > AJ > > On 15-Sep-2013, at 5:38, Baskar Sikkayan wrote: > > > Hi, > > I am new to Solr and trying t

Re: Solr Java Client

2013-09-14 Thread Amit Jha
Add a field called "source" in schema.xml and value would be your table names. Rgds AJ On 15-Sep-2013, at 5:38, Baskar Sikkayan wrote: > Hi, > I am new to Solr and trying to use Solr java client instead of using the > Data handler. > Is there any configuration i need to do for this? > > I

Re: MySQL Data import handler

2013-09-14 Thread Amit Jha
Hi Baskar, Just create a single schema.xml which should contains required fields from 3 tables. Add a status column to child table.i.e 1 = add 2 = update 3 = delete 4 = indexed Etc Write a program using solrj which will read the status and do thing accordingly. Rgds AJ On 15-Sep-2013, at

Re: Committing when indexing in parallel

2013-09-14 Thread Amit Jha
Hi, As per my knowledge, any number of requests can be issued in parallel for index the documents. Any commit request will write them to index. So if P1 issued a commit then all documents of P2 those are eligible get committed and remaining documents will get committed on other commit request.

Re: MySQL Data import handler

2013-09-14 Thread Baskar Sikkayan
Hi, If i am supposed to go with Java client, should i still do any configurations in solrconfig.xml or schema.xml. Thanks, Baskar.S On Sat, Sep 14, 2013 at 8:46 PM, Gora Mohanty wrote: > On 14 September 2013 20:07, Baskar Sikkayan wrote: > > Hi Gora, > > Thanks a lot for your reply. > >

Solr Java Client

2013-09-14 Thread Baskar Sikkayan
Hi, I am new to Solr and trying to use Solr java client instead of using the Data handler. Is there any configuration i need to do for this? I got the following sample code. SolrInputDocument doc = new SolrInputDocument(); doc.addField("cat", "book"); doc.addFiel

Re: Committing when indexing in parallel

2013-09-14 Thread Phani Chaitanya
Thanks Erick. I completely did not get the point you are trying to make w.r.t my question. I'll add it again according to your example. In the example you gave w.r.t P1.1, P2.1, P1.2, P2.2 and P1 issues a commit, I understand that all documents are committed. Now what happens when P1 issues a com

Re: Committing when indexing in parallel

2013-09-14 Thread Erick Erickson
First, there is no blocking, your P1 and P2 indexing processes should continue on just fine. That nit aside... No matter how many processes are indexing to Solr, the documents are treated as though they came in serial requests as far as committing is concerned. Let's say you send the data to Solr

Re: Solr wildcard search

2013-09-14 Thread Erick Erickson
Also be aware that some analysis steps may not be performed on wildcards. The filter has to be MultTermAware. See: https://wiki.apache.org/solr/MultitermQueryAnalysis and http://searchhub.org/2011/11/29/whats-with-lowercasing-wildcard-multiterm-queries-in-solr/ Best, Erick On Fri, Sep 13, 2013 a

Re: what does "UnInvertedField; UnInverted multi-valued field" means and how to fix it

2013-09-14 Thread Erick Erickson
This is totally weird. Can you give us the exact command you are using? Best Erick On Fri, Sep 13, 2013 at 8:15 AM, Raheel Hasan wrote: > Hi guyz, > > I have an issue here in between Solr Core and Data Indexing: > > When I build some index from fresh setup, everything is fine: all queries > and

Re: Re: Unable to getting started with SOLR

2013-09-14 Thread Erick Erickson
If you're using the default jetty container, there's no log unless you set it up, the content is echoed to the screen. About a zillion people have downloaded this and started it running without issue, so you need to give us the exact steps you followed. If you checked the code out from SVN, y

Re: Solr Patent

2013-09-14 Thread Shashi Kant
You can ask on this site http://patents.stackexchange.com/ On Sat, Sep 14, 2013 at 10:03 AM, Michael Sokolov wrote: > On 9/13/2013 9:14 PM, Zaizen Ushio wrote: >> >> Hello >> I have a question about patent. I believe Apache license is protecting >> Solr developers from patent issue in Solr com

Re: Solr Patent

2013-09-14 Thread Michael Sokolov
On 9/13/2013 9:14 PM, Zaizen Ushio wrote: Hello I have a question about patent. I believe Apache license is protecting Solr developers from patent issue in Solr community. But is there any case that Solr developer or Solr users are alleged by outside of Solr Community? Is there any cases so

Re: MySQL Data import handler

2013-09-14 Thread Gora Mohanty
On 14 September 2013 20:07, Baskar Sikkayan wrote: > Hi Gora, > Thanks a lot for your reply. > My requirement is to combine 3 tables in mysql for search operation and > planning to sync these 3 tables( not all the columns ) in Apache Solr. > Whenever there is any change( adding a new row, dele

Re: MySQL Data import handler

2013-09-14 Thread Baskar Sikkayan
Hi Gora, Thanks a lot for your reply. My requirement is to combine 3 tables in mysql for search operation and planning to sync these 3 tables( not all the columns ) in Apache Solr. Whenever there is any change( adding a new row, deleting a row, modifying the column data( any column in the 3 tab

Re: MySQL Data import handler

2013-09-14 Thread Gora Mohanty
On 14 September 2013 18:46, Baskar Sikkayan wrote: > Hi, > I am new to solar and trying for MySQL data import handler. > > I have 3 tables in mysql. [...] Your question is unclear, and you would probably benefit by doing some basic homework on Solr and importing data into it. Please start from

MySQL Data import handler

2013-09-14 Thread Baskar Sikkayan
Hi, I am new to solar and trying for MySQL data import handler. I have 3 tables in mysql. 1) user 2) mast_data 3) child_data The child_data table has foreign key ref of master_data and user. In child_data table, i have the following columns. 1) date 2) fee 3) location 4) type 5) text 6) user_

Solr PingQuery

2013-09-14 Thread Prasi S
Hi, I use SolrPingResponse.getStatus method to start indexing to solr. I use SolrCloud with external zookeeper If i send it to the Zookeeper, if zookeeper is down, it returns NOTOK. But if one of my solr is up and second solr is down, the Ping returns OK status. Is this the behavior? Thanks, P