Solr For

2013-10-26 Thread Baskar Sikkayan
Hi, Looking for solr config for Job Site. In a job site there are 2 main searches. 1) Employee can search for job ( based on skill set, job location, title, salary ) 2) Employer can search for employees ( based on skill set, exp, location, ) Should i have a separate config xml for both se

Equivalent Java client code

2013-09-22 Thread Baskar Sikkayan
Hi, I use the below query to check if the both of the word are there in the document. http://localhost:18080/solr/select?defType=dismax&pf=tagged_skills ^100&q=java+ejb+Spring&qf=tagged_skills&q.op=AND I am not sure how to execute the same thing using Solr Java client. SolrQuery query = new S

Re: Solr Java Client

2013-09-16 Thread Baskar Sikkayan
*Guess, its a unnecessary trip. * *So confused here, if i need to go with Java client or DIH delta import. * Thanks, Baskar.S On Mon, Sep 16, 2013 at 9:23 AM, Gora Mohanty wrote: > On 16 September 2013 02:47, Baskar Sikkayan wrote: > [...] > > Have a question now. > >

Re: Solr Java Client

2013-09-15 Thread Baskar Sikkayan
is any other better approach than this. Thanks, Baskar.S On Sun, Sep 15, 2013 at 9:42 PM, Gora Mohanty wrote: > On 15 September 2013 21:36, Baskar Sikkayan wrote: > > > > Hi, > > Thanks for the reply. I got it now. Is there XSD for schema.xml and > > solrcon

Re: Solr Java Client

2013-09-15 Thread Baskar Sikkayan
013 at 9:20 PM, Erick Erickson wrote: > 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 Sikk

Re: Solr Java Client

2013-09-15 Thread Baskar Sikkayan
That's a good strategy if there is > little data shared between the two types of users. > It's probably conceptually cleaner as well. > > Best, > Erick > > > On Sun, Sep 15, 2013 at 8:18 AM, Baskar Sikkayan >wrote: > > > Hi, > > Than

Re: Solr Java Client

2013-09-15 Thread Baskar Sikkayan
. 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 ... &g

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: >

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

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: MySQL Data import handler

2013-09-14 Thread Baskar Sikkayan
tables ) ), the same has to updated in solr. Guess, for this requirement, instead of going with delta-import, Apachae Solar java client will be of useful. Could you please share your view? Thanks, Baskar.S On Sat, Sep 14, 2013 at 7:25 PM, Gora Mohanty wrote: > On 14 September 2013 18:46, Bas

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_