configuring data source in apache tomcat

2012-11-19 Thread Leena Jawale
Hi,

I have configured apche solr with tomcat for that I have deployed .war file in 
tomcat. I have created the solr home directory at C:\solr. And after starting 
tomcat solr.war file get extracted and a folder is get created in webapps. In 
that in WEB-INF/web.xml I had written

env-entry

 env-entry-namesolr/home/env-entry-name

 env-entry-valueC:\solr/env-entry-value

 env-entry-typejava.lang.String/env-entry-type

  /env-entry

So after this solr admin is working.

Now I want to configure xml data source. How can I configure xml data source.?

Thanks  Regards,
Leena Jawale



The contents of this e-mail and any attachment(s) may contain confidential or 
privileged information for the intended recipient(s). Unintended recipients are 
prohibited from taking action on the basis of information in this e-mail and 
using or disseminating the information, and must notify the sender and delete 
it from their system. LT Infotech will not accept responsibility or liability 
for the accuracy or completeness of, or the presence of any virus or disabling 
code in this e-mail


configuring solr xml as a datasource

2012-11-19 Thread Leena Jawale
Hi,

I am new to solr. I am trying to use solr xml data source for solr search 
engine.
I have created test.xml file as
-
add
doc
field name=fnameleena1/field
field name=number101/field
/doc
/add

I have created data-config.xml file

dataConfig
dataSource type=FileDataSource encoding=UTF-8 /
document
entity name=page
processor=XPathEntityProcessor
stream=true
forEach=/rootelement
url=C:\solr\conf\test.xml
transformer=RegexTransformer,DateFormatTransformer
field column=namexpath=/rootelement/name /
field column=number xpath=/rootelement/number /

   /entity
/document
/dataConfig

And added below code in solrconfig.xml :
requestHandler name=/dataimport 
class=org.apache.solr.handler.dataimport.DataImportHandler
lst name=defaults
  str name=configC:\solr\conf\data-config.xml/str
  /lst
  /requestHandler

But when I go to this link  
http://localhost:8080/solr/dataimport?command=full-import
Its showing Total Rows Fetched=0 , Total Documents Processed=0.
How can I solve this problem? Please provide me the solution.


Thanks  Regards,
Leena Jawale
Software Engineer Trainee
BFS BU
Phone No. - 9762658130
Email - leena.jaw...@lntinfotech.commailto:leena.jaw...@lntinfotech.com



The contents of this e-mail and any attachment(s) may contain confidential or 
privileged information for the intended recipient(s). Unintended recipients are 
prohibited from taking action on the basis of information in this e-mail and 
using or disseminating the information, and must notify the sender and delete 
it from their system. LT Infotech will not accept responsibility or liability 
for the accuracy or completeness of, or the presence of any virus or disabling 
code in this e-mail


RE: Running solr on apache tomcat

2012-11-05 Thread Leena Jawale
I need both lucidwork admin and solr to run on apache tomcat.

Thanks  Regards,
Leena Jawale
Software Engineer Trainee
BFS BU
Phone No. - 9762658130
Email - leena.jaw...@lntinfotech.commailto:leena.jaw...@lntinfotech.com

From: Leena Jawale
Sent: Monday, November 05, 2012 5:37 PM
To: 'solr-user@lucene.apache.org'
Subject: Running solr on apache tomcat

Hi,

I have installed lucidwork enterprise 2.1.1 and apache tomcat 6. I want to run 
solr on tomcat server.
For that I need to deploy solr.war file on Tomcat Web Application Manager. But 
where can I find .war in lucidwork enterprise installation.
Or I need to make a .war file? How to make it ?
Do you have any solution for this ?


Thanks  Regards,
Leena Jawale



The contents of this e-mail and any attachment(s) may contain confidential or 
privileged information for the intended recipient(s). Unintended recipients are 
prohibited from taking action on the basis of information in this e-mail and 
using or disseminating the information, and must notify the sender and delete 
it from their system. LT Infotech will not accept responsibility or liability 
for the accuracy or completeness of, or the presence of any virus or disabling 
code in this e-mail


Query regarding range search on int fields

2012-10-31 Thread Leena Jawale
Hi,

I have created Solr XML data source. In that I want to make range query on int 
field which is price.
But by default it is considering that field as text. So I have added Price in 
the fields section making price as int,
Indexed=true, Search by default=true, Stored=true, Include in results=true.
After that when I go in Solr Admin and see the Schema Browser it is showing the 
error like
Please wait...loading and parsing Schema Information from LukeRequestHandler

If it does not load or your browser is not javascript or ajax-capable, you may 
wish to examine your schema using the Server side transformed 
LukeRequestHandlerhttp://127.0.0.1:/solr/collection2/admin/luke?wt=xslttr=luke.xsl
 or the raw 
schema.xmlhttp://127.0.0.1:/solr/collection2/admin/file/?file=schema.xml 
instead.

Could you help me in this?
Thanks,
Leena Jawale








The contents of this e-mail and any attachment(s) may contain confidential or 
privileged information for the intended recipient(s). Unintended recipients are 
prohibited from taking action on the basis of information in this e-mail and 
using or disseminating the information, and must notify the sender and delete 
it from their system. LT Infotech will not accept responsibility or liability 
for the accuracy or completeness of, or the presence of any virus or disabling 
code in this e-mail


Query regarding solr search

2012-10-30 Thread Leena Jawale
Hi,

I have created Solr XML data source. And on that I am working on less than 
operator.
I tried q=SerialNo:[ * TO 500 ].But It is showing records having SerialNo=1000. 
Could you help me this.?


Thanks,
Leena Jawale


The contents of this e-mail and any attachment(s) may contain confidential or 
privileged information for the intended recipient(s). Unintended recipients are 
prohibited from taking action on the basis of information in this e-mail and 
using or disseminating the information, and must notify the sender and delete 
it from their system. LT Infotech will not accept responsibility or liability 
for the accuracy or completeness of, or the presence of any virus or disabling 
code in this e-mail


RE: Query regarding solr search

2012-10-30 Thread Leena Jawale
Hi,

I understand that in the solr search considering the field type as text_en and 
not as int for the fields.
So how do I convert the field type of a particular field in solr XML as int so 
that I can operate that
field for range queries in solr??

Thanks,
Leena Jawale

From: Leena Jawale
Sent: Tuesday, October 30, 2012 12:18 PM
To: 'solr-user@lucene.apache.org'
Cc: 'Sawant, Amit2 '
Subject: Query regarding solr search

Hi,

I have created Solr XML data source. And on that I am working on less than 
operator.
I tried q=SerialNo:[ * TO 500 ].But It is showing records having SerialNo=1000. 
Could you help me this.?


Thanks,
Leena Jawale


The contents of this e-mail and any attachment(s) may contain confidential or 
privileged information for the intended recipient(s). Unintended recipients are 
prohibited from taking action on the basis of information in this e-mail and 
using or disseminating the information, and must notify the sender and delete 
it from their system. LT Infotech will not accept responsibility or liability 
for the accuracy or completeness of, or the presence of any virus or disabling 
code in this e-mail


Query regarding solr search

2012-10-30 Thread Leena Jawale

Hi,
My XML file is

add
doc
field name=SERIALNO type=int1001 /field
field name=MODELNAME type=textIBM 1001 /field
field name=ASSETTAG type=textINFPW03772 /field
field name=date class=solr.DateField22/4/2010 /field
field name=PRICE1 type=int1000/field
/doc
doc
field name=SERIALNO type=int1002 /field
field name=MODELNAME type=textDELL 1002 /field
field name=ASSETTAG type=textINFPW03734 /field
field name=date class=solr.DateField09/7/2010 /field
field name=PRICE1  type=int5000/field
/doc
/add

But still the SerialNo and price1 working according to type text.

Thanks,
Leena Jawale


From: Leena Jawale
Sent: Tuesday, October 30, 2012 4:58 PM
To: 'solr-user@lucene.apache.org'
Cc: 'Sawant, Amit2 '
Subject: RE: Query regarding solr search

Hi,

I understand that in the solr search considering the field type as text_en and 
not as int for the fields.
So how do I convert the field type of a particular field in solr XML as int so 
that I can operate that
field for range queries in solr??

Thanks,
Leena Jawale

From: Leena Jawale
Sent: Tuesday, October 30, 2012 12:18 PM
To: 'solr-user@lucene.apache.org'
Cc: 'Sawant, Amit2 '
Subject: Query regarding solr search

Hi,

I have created Solr XML data source. And on that I am working on less than 
operator.
I tried q=SerialNo:[ * TO 500 ].But It is showing records having SerialNo=1000. 
Could you help me this.?


Thanks,
Leena Jawale


The contents of this e-mail and any attachment(s) may contain confidential or 
privileged information for the intended recipient(s). Unintended recipients are 
prohibited from taking action on the basis of information in this e-mail and 
using or disseminating the information, and must notify the sender and delete 
it from their system. LT Infotech will not accept responsibility or liability 
for the accuracy or completeness of, or the presence of any virus or disabling 
code in this e-mail


Query related to Solr XML

2012-10-19 Thread Leena Jawale

Hi,

I made a Solr XML data source in lucidworks enterprise v2.1. When I search in 
Solr Admin for text. I am unable to get the result.
Could you help me in this?



Thanks  Regards,
Leena Jawale
Software Engineer Trainee
BFS BU
Phone No. - 9762658130
Email - leena.jaw...@lntinfotech.commailto:leena.jaw...@lntinfotech.com



The contents of this e-mail and any attachment(s) may contain confidential or 
privileged information for the intended recipient(s). Unintended recipients are 
prohibited from taking action on the basis of information in this e-mail and 
using or disseminating the information, and must notify the sender and delete 
it from their system. LT Infotech will not accept responsibility or liability 
for the accuracy or completeness of, or the presence of any virus or disabling 
code in this e-mail


Query related to data source

2012-10-18 Thread Leena Jawale
Hi,
I want to configure MS Aceess 2007 database with data source of lucidworks 
imagination.
Is it possible to configure MS Access.? What should I need to do for that?


Thanks  regards,
Leena Jawale



The contents of this e-mail and any attachment(s) may contain confidential or 
privileged information for the intended recipient(s). Unintended recipients are 
prohibited from taking action on the basis of information in this e-mail and 
using or disseminating the information, and must notify the sender and delete 
it from their system. LT Infotech will not accept responsibility or liability 
for the accuracy or completeness of, or the presence of any virus or disabling 
code in this e-mail


Query related to data source

2012-10-18 Thread Leena Jawale


Hi,
I want to configure MS Aceess 2007 database with data source of lucidworks 
imagination.
Is it possible to configure MS Access.? What should I need to do for that?


Thanks  regards,
Leena Jawale



The contents of this e-mail and any attachment(s) may contain confidential or 
privileged information for the intended recipient(s). Unintended recipients are 
prohibited from taking action on the basis of information in this e-mail and 
using or disseminating the information, and must notify the sender and delete 
it from their system. LT Infotech will not accept responsibility or liability 
for the accuracy or completeness of, or the presence of any virus or disabling 
code in this e-mail


Query related to data source in lucid imagination

2012-10-17 Thread Leena Jawale
Hi,

I have installed lucidworks enterprise v2.1. In that, I want to create XML data 
source.
But on the data source page I am unable to find the Solr XML in the dropdown 
list.
Could you help me in this..??

Thanks  regards,
Leena Jawale


The contents of this e-mail and any attachment(s) may contain confidential or 
privileged information for the intended recipient(s). Unintended recipients are 
prohibited from taking action on the basis of information in this e-mail and 
using or disseminating the information, and must notify the sender and delete 
it from their system. LT Infotech will not accept responsibility or liability 
for the accuracy or completeness of, or the presence of any virus or disabling 
code in this e-mail


Query related to data source

2012-10-17 Thread Leena Jawale
Hi,

I have installed lucidworks enterprise v2.1. In that, I want to create XML data 
source.
But on the data source page I am unable to find the Solr XML in the dropdown 
list.
Could you help me in this..??

Thanks  regards,
Leena Jawale



The contents of this e-mail and any attachment(s) may contain confidential or 
privileged information for the intended recipient(s). Unintended recipients are 
prohibited from taking action on the basis of information in this e-mail and 
using or disseminating the information, and must notify the sender and delete 
it from their system. LT Infotech will not accept responsibility or liability 
for the accuracy or completeness of, or the presence of any virus or disabling 
code in this e-mail