-
From: con [mailto:[EMAIL PROTECTED]
Sent: Wednesday, 1 October 2008 7:54 PM
To: solr-user@lucene.apache.org
Subject: RE: How to select one entity at a time?
And finally its almost fine.. :jumping: :jumping: :jumping:
Thanks Burnell.
My tables are in Oracle DB.
So based on your suggestions
: How to select one entity at a time?
Hi Con,
what RDBMS are you using?
This looks like a SQL syntax problem, perhaps the 'literal as
column'
is not right for your setup [while it works for my MS SQL Server].
An alternative to supplying the rowtype attribute as a literal in
the
SQL
. Reading disclaimers makes you go blind. Writing them is worse. You
have been Warned.
--
View this message in context:
http://www.nabble.com/How-to-select-one-entity-at-a-time--tp19668759p19754869.html
Sent from the Solr - User mailing list archive at Nabble.com.
--
--Noble Paul
,
any road will get you there.
I speak for myself, not my employer. Contents may be hot. Slippery when
wet. Reading disclaimers makes you go blind. Writing them is worse. You
have been Warned.
--
View this message in context:
http://www.nabble.com/How-to-select-one-entity-at-a-time
:[EMAIL PROTECTED]
Sent: Wednesday, 1 October 2008 4:54 PM
To: solr-user@lucene.apache.org
Subject: Re: How to select one entity at a time?
Of course I agree.
But while performing a search, if I want to search only the data from
USER
table, how can I acheive it.
Suppose I have a user
: Wednesday, 1 October 2008 4:54 PM
To: solr-user@lucene.apache.org
Subject: Re: How to select one entity at a time?
Of course I agree.
But while performing a search, if I want to search only the data from
USER
table, how can I acheive it.
Suppose I have a user name bob in both USER
:[EMAIL PROTECTED]
Sent: Wednesday, 1 October 2008 5:48 PM
To: solr-user@lucene.apache.org
Subject: RE: How to select one entity at a time?
That is exactly what my problem is.:handshake:
Thanks for you reply.
But I tried your suggestion:
Updated the data-config.xml as;
entity name=user
.
-Original Message-
From: Neville Burnell [mailto:[EMAIL PROTECTED]
Sent: Wednesday, 1 October 2008 6:06 PM
To: solr-user@lucene.apache.org
Subject: RE: How to select one entity at a time?
Hi Con,
what RDBMS are you using?
This looks like a SQL syntax problem, perhaps the 'literal as column
rowtype_s to take advantage of
Solr's dynamic field definitions.
-Original Message-
From: Neville Burnell [mailto:[EMAIL PROTECTED]
Sent: Wednesday, 1 October 2008 6:06 PM
To: solr-user@lucene.apache.org
Subject: RE: How to select one entity at a time?
Hi Con,
what RDBMS are you using
[mailto:[EMAIL PROTECTED]
Sent: Wednesday, 1 October 2008 6:06 PM
To: solr-user@lucene.apache.org
Subject: RE: How to select one entity at a time?
Hi Con,
what RDBMS are you using?
This looks like a SQL syntax problem, perhaps the 'literal as column'
is not right for your setup [while
to be say rowtype_s to take advantage
of
Solr's dynamic field definitions.
-Original Message-
From: Neville Burnell [mailto:[EMAIL PROTECTED]
Sent: Wednesday, 1 October 2008 6:06 PM
To: solr-user@lucene.apache.org
Subject: RE: How to select one entity at a time?
Hi Con
:[EMAIL PROTECTED]
Sent: Wednesday, 1 October 2008 7:54 PM
To: solr-user@lucene.apache.org
Subject: RE: How to select one entity at a time?
And finally its almost fine.. :jumping: :jumping: :jumping:
Thanks Burnell.
My tables are in Oracle DB.
So based on your suggestions the changes made
for myself, not my employer. Contents may be hot. Slippery when
wet. Reading disclaimers makes you go blind. Writing them is worse. You
have been Warned.
--
View this message in context:
http://www.nabble.com/How-to-select-one-entity-at-a-time--tp19668759p19736899.html
Sent from the Solr - User
, not my employer. Contents may be hot. Slippery when
wet. Reading disclaimers makes you go blind. Writing them is worse. You
have been Warned.
--
View this message in context:
http://www.nabble.com/How-to-select-one-entity-at-a-time--tp19668759p19754869.html
Sent from the Solr - User
) to filter on those
fields.
--
Regards,
Shalin Shekhar Mangar.
--
View this message in context:
http://www.nabble.com/How-to-select-one-entity-at-a-time--tp19668759p19683927.html
Sent from the Solr - User mailing list archive at Nabble.com.
On Fri, 26 Sep 2008 00:46:07 -0700 (PDT)
con [EMAIL PROTECTED] wrote:
To be more specific:
I have the data-config.xml just like:
dataConfig
dataSource **/
document
entity name=user query=select * from USER
/entity
wet. Reading disclaimers makes you go blind. Writing them is worse. You
have been Warned.
--
View this message in context:
http://www.nabble.com/How-to-select-one-entity-at-a-time--tp19668759p19685292.html
Sent from the Solr - User mailing list archive at Nabble.com.
On Fri, 26 Sep 2008 02:35:18 -0700 (PDT)
con [EMAIL PROTECTED] wrote:
What you meant is correct only. Please excuse for that I am new to solr. :-(
Con, have a read here :
http://www.ibm.com/developerworks/java/library/j-solr1/
it helped me pick up the basics a while back. it refers to 1.2,
On Fri, 26 Sep 2008 02:35:18 -0700 (PDT)
con [EMAIL PROTECTED] wrote:
What you meant is correct only. Please excuse for that I am new to solr. :-(
hi Con,
nothing to be excused for..but you may want to read the wiki , as it provides
quite a lot of information that should answer your questions.
with this query:
http://localhost:8983/solr/select/?q=physicsversion=2.2start=0rows=10indent=onwt=json
Thanks
con
--
View this message in context:
http://www.nabble.com/How-to-select-one-entity-at-a-time--tp19668759p19668759.html
Sent from the Solr - User mailing list archive at Nabble.com.
On Thu, Sep 25, 2008 at 6:13 PM, con [EMAIL PROTECTED] wrote:
Hi
I have got two entities in my data-config.xml file, entity1 and entity2.
For condition-A I need to execute only entity1 and for condition-B only the
entity2 needs to get executed.
How can I mention it while accessing the
21 matches
Mail list logo