how to configure saxon xslt processor for solr

2011-12-29 Thread vrpar...@gmail.com
Hello all, i want to configure saxon xslt processor for solr; how to do that? its taking xalan as default processor. also if its needed to set classpath, please provide me path where can i set classpath? and also how can we check that which xslt processor default use. i am using solr 1.4

xpathentityprocessor with flattern true

2012-01-06 Thread vrpar...@gmail.com
Hello all, i want to get whole xmldata into one field, for that i am using xpathentityprocessor with flattern=true but still it doesn't work as expected. e.g. sample xml isrootdocabc/docpartidabc/id idbcd/id

Re: xpathentityprocessor with flattern true

2012-01-09 Thread vrpar...@gmail.com
am i making any mistake with xpathentityprocessor? i am using solr 1.4 please help me to solve this problem? Thanks Regards, Vishal Parekh -- View this message in context: http://lucene.472066.n3.nabble.com/xpathentityprocessor-with-flattern-true-tp3637928p3645013.html Sent from the Solr

how to use RemoveDuplicatesTokenFilterFactory?

2012-12-25 Thread vrpar...@gmail.com
I want to avoid duplicate values in one multivalued field. i am using dataimport handler to import data, the particular multivalued field are being filled from xml source. now that xml has duplicate values, but i want to have unique valued in this multivalued field. e.g. xml data a1

gets time out error in full import with data import hadler

2011-10-25 Thread vrpar...@gmail.com
Hello all, i am using data import hadler, jdbc to get data from db for indexing. i have one query which takes more time to get data, when i do full import, it gives me timeout error. please help me to solve this problem, if i can set timeout anywhere or any other way. Thanks, Vishal Parekh

how to update specific document (record) of solr

2011-10-31 Thread vrpar...@gmail.com
hello all, i want to update specific fields of particular document (having uniquekey). how to do it? e.g. suppose one document with following fields, ID--- unique key in solr Name Address Mobile Email i want to update only email field of document which has ID=5 Thanks, Vishal

how to apply sort and search both on multivalued field in solr

2011-11-02 Thread vrpar...@gmail.com
Hello all, i did googling and also as per wiki, we can not apply sorting on multivalued field. workaround for that is we need to add two more fields for particular multivalued field, min and max. e.g. multivalued field have 4 values abc,

Re: how to apply sort and search both on multivalued field in solr

2011-11-03 Thread vrpar...@gmail.com
Thanks Erick, what i given 'abc',...etc... its values of one multivalued field in one document, but might be its confusing. lets say, i have one field named Array1 has multivalued=true now i want to Search on Array1 , but i want only affected values (which i can get in highlighting), now

XSLT caching mechanism

2011-11-14 Thread vrpar...@gmail.com
Hello All, i am using xslt to transform solr xml response, when made search;getting below warning WARNING [org.apache.solr.util.xslt.TransformerProvider] The TransformerProvider's simplistic XSLT caching mechanism is not appropriate for high load scenarios, unless a single XSLT transform is used

Re: how to apply fuzzy search with slop

2011-11-30 Thread vrpar...@gmail.com
Thanks Erick, i have download ComplexPhraseQueryParser from your give link, apply maven package to create jar file and add it to WEB-INF/lib folder and generate war file and deploy to jboss server also i added QueryParser into solrconfig.xml file, now when i do normal search, it works fine but

how to import data from database combine with file content in solr

2011-04-15 Thread vrpar...@gmail.com
Hello, I am new to solr, my requirements are, 1. at regular interval need solr to fetch data from sql server database and do indexing on it. 2. fetch only those records which is not yet indexed 3. for each record there is one file associated, so with database table fields also want to index

Unable to load EntityProcessor implementation for entity:16865747177753

2011-04-21 Thread vrpar...@gmail.com
hello i have one datasource - is sql server db and second datasource - is file but dynamic means based on first datasource db record i want to fetch one file that's why i try to use tikaentityprocessor but got following error

Re: Unable to load EntityProcessor implementation for entity:16865747177753

2011-04-25 Thread vrpar...@gmail.com
Thanks firdous_kind86 i replace tikaentityprocessor with xpathentityprocessor and works fine -- View this message in context: http://lucene.472066.n3.nabble.com/Unable-to-load-EntityProcessor-implementation-for-entity-16865747177753-tp2846513p2861229.html Sent from the Solr - User mailing list

how to concatenate two nodes of xml with xpathentityprocessor

2011-04-25 Thread vrpar...@gmail.com
hello , i am using Xpathentityprocessor to do index xml files below is my xml file Full Customer name=a id=1 .. other attributes CustomerA/Customer Customer name=b id=2 .. other attributes ThisB/Customer Customer name=c id=3 .. other attributes AnyC/Customer

Re: how to concatenate two nodes of xml with xpathentityprocessor

2011-04-26 Thread vrpar...@gmail.com
Thanks Stefan currently in dataconfig file part of xPathEntityProcessor entity name=x processor=XPathEntityProcessor forEach=/FULL url=D:\Files\${_FileName} dataSource=FD field column=id xpath=/FULL/Customer/@id / field column=Customer

org.apache.solr.common.SolrException: Error loading class 'org.apache.solr.handler.dataimport.DataImportHandler'

2011-04-26 Thread vrpar...@gmail.com
Hello, i got following source org.apache.solr.common.SolrException: Error loading class 'org.apache.solr.handler.dataimport.DataImportHandler' at org.apache.solr.core.SolrResourceLoader.findClass(SolrResourceLoader.java:389) at org.apache.solr.core.SolrCore.createInstance(SolrCore.java:423) at

Re: org.apache.solr.common.SolrException: Error loading class 'org.apache.solr.handler.dataimport.DataImportHandler'

2011-04-27 Thread vrpar...@gmail.com
thanks stefan i done same and dataimporthandler error gone ,then i got slf4j error and done same and error gone i got requesthandler error, but now i have some configuration problem,i try to fix it out -- View this message in context:

how to update database record after indexing

2011-04-28 Thread vrpar...@gmail.com
Hello, i am using dataimporthandler to import data from sql server database. my requirement is when solr completed indexing on particular database record i want to update that record in database or after indexing all records if i can get all ids and update all records how to achieve same ?

Re: org.apache.solr.common.SolrException: Error loading class 'org.apache.solr.handler.dataimport.DataImportHandler'

2011-05-10 Thread vrpar...@gmail.com
now its working gr8, thanks stefan,scott -- View this message in context: http://lucene.472066.n3.nabble.com/org-apache-solr-common-SolrException-Error-loading-class-org-apache-solr-handler-dataimport-DataImpo-tp2865625p2922985.html Sent from the Solr - User mailing list archive at Nabble.com.

how to do offline adding/updating index

2011-05-10 Thread vrpar...@gmail.com
Hello all, indexing with dataimporthandler runs every hour (new records will be added, some records will be updated) note :large data requirement is when indexing is in progress, searching (on already indexed data) should not affect so should i use multicore-with merge and swap or delta query

Re: how to update database record after indexing

2011-05-12 Thread vrpar...@gmail.com
actually every hour some records are inserted into database, so every hour solr indexing will be called with delta import, notes: records and data are very large (in GBs) so each time to find all solr index and update database records process will be slow. is there any eventlistners or

Re: how to update database record after indexing

2011-06-03 Thread vrpar...@gmail.com
Hey Erick, i written separate process as you suggested, and achieved task. Thanks a lot Vishal Parekh -- View this message in context: http://lucene.472066.n3.nabble.com/how-to-update-database-record-after-indexing-tp2874171p3019217.html Sent from the Solr - User mailing list archive at

RE: how to do offline adding/updating index

2011-06-03 Thread vrpar...@gmail.com
Thanks to all, i done by using multicore, vishal parekh -- View this message in context: http://lucene.472066.n3.nabble.com/how-to-do-offline-adding-updating-index-tp2923035p3019219.html Sent from the Solr - User mailing list archive at Nabble.com.

Re: how to concatenate two nodes of xml with xpathentityprocessor

2011-06-03 Thread vrpar...@gmail.com
Thanks kbootz your suggestion works fine, vishal parekh -- View this message in context: http://lucene.472066.n3.nabble.com/how-to-concatenate-two-nodes-of-xml-with-xpathentityprocessor-tp2861260p3019223.html Sent from the Solr - User mailing list archive at Nabble.com.

Highlighting is case sensitive when search with double quote

2012-08-22 Thread vrpar...@gmail.com
when i search with abc cde, solr will return result but highlighting portion is as per below, lst name=highlighting lst name=1 /lst /lst and when i search with ABC cde it will have below response lst name=highlighting lst name=1 arr name=SearchField str ... ... ABC cde . /str /arr /lst