Re: Some new SOLR features

2008-09-19 Thread Noble Paul നോബിള്‍ नोब्ळ्
why to restart solr ? reloading a core may be sufficient. SOLR-561 already supports this - On Thu, Sep 18, 2008 at 5:17 PM, Jason Rutherglen [EMAIL PROTECTED] wrote: Servlets is one thing. For SOLR the situation is different. There are always small changes people want to make, a new stop

Re: Can I add custom fields to the input XML file?

2008-09-19 Thread Noble Paul നോബിള്‍ नोब्ळ्
If you have custom XML take a look at DataImportHandler http://wiki.apache.org/solr/DataImportHandler On Fri, Sep 19, 2008 at 12:24 PM, Otis Gospodnetic [EMAIL PROTECTED] wrote: The format is fixed, you can't change it -- something on the Solr end needs to parse that XML and expects specific

Re: Delta importing issues

2008-09-20 Thread Noble Paul നോബിള്‍ नोब्ळ्
the if an entity is specified like entity=oneentity=two the command will be run only for those entities. absence of the parameter entity means all entities will be executed the last_index_time is another piece which must be improved It is hard to get usecases . If users can give me more

Re: Error running query inside data-config.xml

2008-09-24 Thread Noble Paul നോബിള്‍ नोब्ळ्
just paste the fields in your schema so that we can help you better On Wed, Sep 24, 2008 at 12:33 PM, con [EMAIL PROTECTED] wrote: Hi I havnt changed the schema. For the time being i am simply following the default schema.xml inside conf directory. By error I meant no output values. But

Re: NullPointerException

2008-09-26 Thread Noble Paul നോബിള്‍ नोब्ळ्
I dunno if the problem is w/ date. are cdt and mdt date fields in the DB? On Fri, Sep 26, 2008 at 12:58 AM, Shalin Shekhar Mangar [EMAIL PROTECTED] wrote: I'm not sure about why the NullPointerException is coming. Is that the whole stack trace? The mdt and cdt are date in schema.xml but the

Re: DataImportHandler: way to merge multiple db-rows to 1 doc using transformer?

2008-09-28 Thread Noble Paul നോബിള്‍ नोब्ळ्
What is the basis on which you merge rows ? Then I may be able to suggest an easy way of doing that On Sun, Sep 28, 2008 at 3:17 AM, Britske [EMAIL PROTECTED] wrote: Looking at the wiki, code of DataImportHandler and it looks impressive. There's talk about ways to use Transformers to be able

Re: using DataImportHandler instead of POST?

2008-09-28 Thread Noble Paul നോബിള്‍ नोब्ळ्
yep. DIH can slurp an xml file . http://wiki.apache.org/solr/DataImportHandler#head-13ffe3a5e6ac22f08e063ad3315f5e7dda279bd4 use a FileDataSource instead of HttpDataSource if your xml is in the the solr add xml format use the attribute useSolrAddSchema=true If your xml is really huge use

Re: Sample App needed

2008-09-29 Thread Noble Paul നോബിള്‍ नोब्ळ्
which is the sample that is not working? On Mon, Sep 29, 2008 at 6:02 PM, Dinesh Gupta [EMAIL PROTECTED] wrote: Hi all, Have some sample application instead of Solr sample. Please give me a sample application where I can made indexes from the DB. I am not able to work with sample app.

Re: Indexing Large Files with Large DataImport: Problems

2008-09-30 Thread Noble Paul നോബിള്‍ नोब्ळ्
I guess it is a threading problem. I can give you a patch. you can raise a bug --Noble On Wed, Oct 1, 2008 at 2:11 AM, KyleMorrison [EMAIL PROTECTED] wrote: As a follow up: I continued tweaking the data-config.xml, and have been able to make the commit fail with as little as 3 fields in the

Re: Indexing Large Files with Large DataImport: Problems

2008-09-30 Thread Noble Paul നോബിള്‍ नोब्ळ्
this patch is created from 1.3 (may apply on trunk also) --Noble On Wed, Oct 1, 2008 at 9:56 AM, Noble Paul നോബിള്‍ नोब्ळ् [EMAIL PROTECTED] wrote: I guess it is a threading problem. I can give you a patch. you can raise a bug --Noble On Wed, Oct 1, 2008 at 2:11 AM, KyleMorrison [EMAIL

Re: How to select one entity at a time?

2008-10-01 Thread Noble Paul നോബിള്‍ नोब्ळ्
The entity and the select query has no relationship The entity comes into picture when you do a dataimport eg: http://localhost:8983/solr/dataimport?command=full-importenity=user This is an indexing operation On Wed, Oct 1, 2008 at 11:26 AM, con [EMAIL PROTECTED] wrote: Hi guys, In the URL,

Re: DIH - Full imports + ?entity=param

2008-10-02 Thread Noble Paul നോബിള്‍ नोब्ळ्
DIH does not know the rows created by that entity. So we do not really have any knowledge on how to delete specific rows. how about passing a deleteQuery=type:x in the request params or having a deleteByQuery on each top level entitywhich can be used when that entity is doing a full-import

Re: Indexing Large Files with Large DataImport: Problems

2008-10-06 Thread Noble Paul നോബിള്‍ नोब्ळ्
Did you get a chance to test with the patch? did it work? On Wed, Oct 1, 2008 at 10:13 AM, Noble Paul നോബിള്‍ नोब्ळ् [EMAIL PROTECTED] wrote: this patch is created from 1.3 (may apply on trunk also) --Noble On Wed, Oct 1, 2008 at 9:56 AM, Noble Paul നോബിള്‍ नोब्ळ् [EMAIL PROTECTED] wrote: I

Re: command is still running ? delta-import?

2008-10-06 Thread Noble Paul നോബിള്‍ नोब्ळ्
may be you can do a thread dump of solr . It may throw some light on wht it is upto. kill -3 pid in *nix --Noble On Mon, Oct 6, 2008 at 6:25 PM, sunnyfr [EMAIL PROTECTED] wrote: Hi, A command is still running... How can I know exactly what does it do ? Cuz really , it looks like it does

Re: command is still running ? delta-import?

2008-10-06 Thread Noble Paul നോബിള്‍ नोब्ळ्
and ? this one is a command too ? in *nix thanks for your advice, Noble Paul നോബിള്‍ नोब्ळ् wrote: may be you can do a thread dump of solr . It may throw some light on wht it is upto. kill -3 pid in *nix --Noble On Mon, Oct 6, 2008 at 6:25 PM, sunnyfr [EMAIL PROTECTED] wrote: Hi, A command

Re: command is still running ? delta-import?

2008-10-07 Thread Noble Paul നോബിള്‍ नोब्ळ्
/str str name=Total Changed Documents196352/str /lst Noble Paul നോബിള്‍ नोब्ळ् wrote: *nix is for different flavours of unix. Sorry , it is not a command I assumed that you r using a linux/unix system. If you are using windows press a pause/break on that window On Mon, Oct 6, 2008 at 11

Re: Mixing XPathEntityProcesor and JdbcDataSource

2008-10-07 Thread Noble Paul നോബിള്‍ नोब्ळ्
There is no direct way. I'll suggest a better solution use JdbcDataSource and get the xml as a clob/string write a transformer which can take in that field and extract fields out of the xml. There is a class called XPathRecordReader which is used by XPathEntityProcessor wjich you can directly

Re: Problem in using Unique key

2008-10-08 Thread Noble Paul നോബിള്‍ नोब्ळ्
uniqueKey required=falseuserID/uniqueKey I do not think there is a required attribute on uniquekey By default uniquekey is required . If you do not want to make it required remove the tag itself means no uniqueKey --Noble On Wed, Oct 8, 2008 at 1:17 PM, con [EMAIL PROTECTED] wrote: hi guys I

Re: DIH: inner select fails when outter entity is null/empty

2010-04-25 Thread Noble Paul നോബിള്‍ नोब्ळ्
do an onError=skip on the inner entity On Fri, Apr 23, 2010 at 3:56 AM, Otis Gospodnetic otis_gospodne...@yahoo.com wrote: Hello, Here is a newbie DataImportHandler question: Currently, I have entities with entities.  There are some situations where a column value from the outer entity is

Re: Custom DIH variables

2010-05-04 Thread Noble Paul നോബിള്‍ नोब्ळ्
you can use custom parameters from request like , ${dataimporter.request.foo}. pass the value of foo as a request param say foo=bar On Wed, May 5, 2010 at 6:05 AM, Blargy zman...@hotmail.com wrote: Can someone please point me in the right direction (classes) on how to create my own custom dih

Re: Custom DIH variables

2010-05-05 Thread Noble Paul നോബിള്‍ नोब्ळ्
ok , u can't write a variable. But you may write a function (Evaluator). it will look something like ${dataimporter.functions.foo()} http://wiki.apache.org/solr/DataImportHandler#Custom_formatting_in_query_and_url_using_Functions On Wed, May 5, 2010 at 9:12 PM, Blargy zman...@hotmail.com wrote:

Re: Custom DIH EventListeners

2010-05-06 Thread Noble Paul നോബിള്‍ नोब्ळ्
nope. register any event listener and check for the context.currentProcess() to figure out what is the event On Thu, May 6, 2010 at 8:21 AM, Blargy zman...@hotmail.com wrote: I know one can create custom event listeners for update or query events, but is it possible to create one for any DIH

Re: Custom DIH variables

2010-05-06 Thread Noble Paul നോബിള്‍ नोब्ळ्
you can use the core from this API and use EmbeddedSolrServer (part of solrj) . So the calls will be in-vm On Thu, May 6, 2010 at 6:08 AM, Blargy zman...@hotmail.com wrote: Thanks Noble this is exactly what I was looking for. What is the preferred way to query solr within these sorts of

Re: Issue with delta import (not finding data in a column)

2010-05-12 Thread Noble Paul നോബിള്‍ नोब्ळ्
Are u reusing the context object? It may help if u can paste the relevant part of ur code On 10 May 2010 19:03, ahammad ahmed.ham...@gmail.com wrote: I have a Solr core that retrieves data from an Oracle DB. The DB table has a few columns, one of which is a Blob that represents a PDF document.

Re: TikaEntityProcessor on Solr 1.4?

2010-05-19 Thread Noble Paul നോബിള്‍ नोब्ळ्
I guess it should work because Tika Entityprocessor does not use any new 1.4 APIs On Wed, May 19, 2010 at 1:17 AM, Sixten Otto six...@sfko.com wrote: Sorry to repeat this question, but I realized that it probably belonged in its own thread: The TikaEntityProcessor class that enables

Re: TikaEntityProcessor on Solr 1.4?

2010-05-22 Thread Noble Paul നോബിള്‍ नोब्ळ्
just copy the dih-extras jar file from the nightly should be fine On Sat, May 22, 2010 at 3:12 AM, Sixten Otto six...@sfko.com wrote: On Fri, May 21, 2010 at 5:30 PM, Chris Harris rygu...@gmail.com wrote: Actually, rather than cherry-pick just the changes from SOLR-1358 and SOLR-1583 what I

Re: Dynamic dataConfig files in DIH

2010-06-12 Thread Noble Paul നോബിള്‍ नोब्ळ्
On Fri, Jun 11, 2010 at 11:13 PM, Chris Hostetter hossman_luc...@fucit.orgwrote: : Is there a way to dynamically point which dataConfig file to use to import : using DIH without using the defaults hardcoded in solrconfig.xml? what do you mean by dynamically ? ... it's a query param, so you

Re: Solr DataConfig / DIH Question

2010-06-12 Thread Noble Paul നോബിള്‍ नोब्ळ्
this looks like a common problem. I guess DIH should handle this more gracefully. Instead of firing a query and failing it should not fire a query if any of the values are missing . This can b made configurable if needed On Sun, Jun 13, 2010 at 9:14 AM, Lance Norskog goks...@gmail.com wrote:

Re: Throttling replication

2010-09-02 Thread Noble Paul നോബിള്‍ नोब्ळ्
There is no way to currently throttle replication. It consumes the whole bandwidth available. It is a nice to have feature On Thu, Sep 2, 2010 at 8:11 PM, Mark static.void@gmail.com wrote:  Is there any way or forthcoming patch that would allow configuration of how much network bandwith

Re: Changing masterUrl in ReplicationHandler at Runtime

2009-10-09 Thread Noble Paul നോബിള്‍ नोब्ळ्
it would be better to add a command to change the master in runtime. But Solr are planning to move to a zookeeper based system where this can be automatically be taken care of On Sat, Oct 10, 2009 at 6:06 AM, wojtekpia wojte...@hotmail.com wrote: Hi, I'm trying to change the masterUrl of a

Re: Dynamic Data Import from multiple identical tables

2009-10-09 Thread Noble Paul നോബിള്‍ नोब्ळ्
there is another option of passing the table name as a request parameter and make your sql query templatized . example query=select * from ${table} and pass the value of table as a request parameter On Sat, Oct 10, 2009 at 3:52 AM, solr.searcher solr.searc...@gmail.com wrote: Hmmm. Interesting

Re: DIH and EmbeddedSolr

2009-10-09 Thread Noble Paul നോബിള്‍ नोब्ळ्
I guess it should be possible... what are the problems you encounter? On Sat, Oct 10, 2009 at 10:56 AM, rohan rai hiroha...@gmail.com wrote: Have been unable to use DIH for Embedded Solr Is there a way?? Regards Rohan -- - Noble Paul

Re: http replication transfer speed

2009-10-11 Thread Noble Paul നോബിള്‍ नोब्ळ्
Did you try w/o firing queries on the slave? On Sun, Oct 11, 2009 at 6:05 AM, Mark Miller markrmil...@gmail.com wrote: On a drive that can do 40+ that's getting query load might have it's writes knocked down to that? - Mark http://www.lucidimagination.com (mobile) On Oct 10, 2009, at

Re: doing searches from within an UpdateRequestProcessor

2009-10-12 Thread Noble Paul നോബിള്‍ नोब्ळ्
A custom UpdateRequestProcessor is the solution. You can access the searcher in a UpdateRequestProcessor. On Tue, Oct 13, 2009 at 4:20 AM, Bill Au bill.w...@gmail.com wrote: Is it possible to do searches from within an UpdateRequestProcessor?  The documents in my index reference each other.  

Re: Lucene Merge Threads

2009-10-13 Thread Noble Paul നോബിള്‍ नोब्ळ्
which version of Solr are you using? the int name=maxThreadCount1/int syntax was added recently On Tue, Oct 13, 2009 at 8:08 AM, Giovanni Fernandez-Kincade gfernandez-kinc...@capitaliq.com wrote: This didn't end up working. I got the following error when I tried to commit: Oct 12, 2009 8:36:42

Re: Adding callback url to data import handler...Is this possible?

2009-10-14 Thread Noble Paul നോബിള്‍ नोब्ळ्
I can understand the concern that you do not wish to write Java code . But a callback url is a very specific requirement. We plan to extend javascript support to the EventListener callback . Will it help? On Wed, Oct 14, 2009 at 11:47 PM, Avlesh Singh avl...@gmail.com wrote: Hmmm ... I think

Re: Adding callback url to data import handler...Is this possible?

2009-10-15 Thread Noble Paul നോബിള്‍ नोब्ळ्
in respective application. Doing it via javascript sounds like a round-about way of doing it. The eventhandler Cheers Avlesh 2009/10/15 Noble Paul നോബിള്‍ नोब्ळ् noble.p...@corp.aol.com I can understand the concern that you do not wish to write Java code . But a callback url is a very

Re: Using DIH's special commands....Help needed

2009-10-15 Thread Noble Paul നോബിള്‍ नोब्ळ्
use LogTransformer to see if the value is indeed set entity name=post transformer=script:DeleteRow, RegexTransformer,LogTransformer logTemplate=${post} query= select Id, a, b, c, IndexingStatus from prod_table where (IndexingStatus = 1 or IndexingStatus = 4) this should

DIH wiki page reverted

2009-10-16 Thread Noble Paul നോബിള്‍ नोब्ळ्
I have reverted the DIH wiki page to revision 212. see this https://issues.apache.org/jira/browse/INFRA-2270 the wiki has not sent any mail yet So all the changes which were made after 212 is lost. Please go through the page and check if your changes are lost. --

Re: Using DIH's special commands....Help needed

2009-10-17 Thread Noble Paul നോബിള്‍ नोब्ळ्
It is strange that LogTransformer did not log the data. . On Fri, Oct 16, 2009 at 5:54 PM, William Pierce evalsi...@hotmail.com wrote: Folks: Continuing my saga with DIH and use of its special commands.  I have verified that the script functionality is indeed working.    I also verified that

Re: Using DIH's special commands....Help needed

2009-10-17 Thread Noble Paul നോബിള്‍ नोब्ळ्
postImportDeletQuery is fine in your case. On Sat, Oct 17, 2009 at 3:16 AM, William Pierce evalsi...@hotmail.com wrote: Shalin, Many thanks for your tipBut it did not seem to help! Do you think I can use postDeleteImportQuery for this task? Should I file a bug report? Cheers, Bill

Re: Using DIH's special commands....Help needed

2009-10-19 Thread Noble Paul നോബിള്‍ नोब्ळ्
The accepted logLevel values are error, deubug,warn,trace,info 2009/10/18 Noble Paul നോബിള്‍ नोब्ळ् noble.p...@corp.aol.com: On Sun, Oct 18, 2009 at 4:16 AM, Lance Norskog goks...@gmail.com wrote: I had this problem also, but I was using the Jetty exampl. I fail at logging configurations

Re: [DIH] URLDataSource and fetching a link

2009-10-20 Thread Noble Paul നോബിള്‍ नोब्ळ्
at 6:13 PM, Grant Ingersoll gsing...@apache.orgwrote: Finally getting back to this... On Sep 17, 2009, at 12:28 AM, Noble Paul നോബിള്‍ नोब्ळ् wrote: 2009/9/17 Noble Paul നോബിള്‍ नोब्ळ् noble.p...@corp.aol.com: it is possible to have a sub entity which has XPathEntityProcessor which can

Re: Disable replication on master while slaves are pulling

2009-10-21 Thread Noble Paul നോബിള്‍ नोब्ळ्
On Wed, Oct 21, 2009 at 2:31 PM, Jérôme Etévé jerome.et...@gmail.com wrote: Hi there,  I'm planning to reindex all my data on my master server everyday, so here's what I intend to do on the master: 1 - disable replication on the master 2 - Empty the index 3 - Reindex everything 4 -

Re: is EmbeddedSolrServer thread safe ?

2009-10-22 Thread Noble Paul നോബിള്‍ नोब्ळ्
yes On Thu, Oct 22, 2009 at 2:38 PM, jfmel...@free.fr wrote: at SolrJ wiki page : http://wiki.apache.org/solr/Solrj#EmbeddedSolrServer CommonsHttpSolrServer is thread-safe and if you are using the following constructor, you *MUST* re-use the same instance for all requests. ... But is it

Re: multicore query via solrJ

2009-10-23 Thread Noble Paul നോബിള്‍ नोब्ळ्
u guessed it right . Solrj cannot query on multiple cores 2009/10/23 Licinio Fernández Maurelo licinio.fernan...@gmail.com: As no answer is given, I assume it's not possible. It will be great to code a method like this query(SolrServer,  ListSolrServer) El 20 de octubre de 2009 11:21,

Re: SolrJ and Json

2009-10-23 Thread Noble Paul നോബിള്‍ नोब्ळ्
CommonsHttpSolrServer will overwrite the wt param depending on the responseParser set.There are only two response parsers. javabin and xml. The qresponse.toString() actually is a String reperesentation of a namedList object . it has nothing to do with JSON On Fri, Oct 23, 2009 at 2:11 PM, SGE0

Re: CAS client configuration with MT4-PHP.

2009-10-23 Thread Noble Paul നോബിള്‍ नोब्ळ्
Is it a query related to Solr ? On Fri, Oct 23, 2009 at 6:46 PM, Radha C. cra...@ceiindia.com wrote: Hi, We have CAS server of spring integrated and it is running in apache. We have application in MovableType4 - PHP. Is it possible to configure the MT4 authentication module to redirect to

Re: Solrj client API and response in XML format (Solr 1.4)

2009-10-24 Thread Noble Paul നോബിള്‍ नोब्ळ्
of the HttpClient to do that ? I noticed I can instantiate the CommonsHttpSolrServer with a HttpClient client . I did not find any relevant examples how to use this . If you can help me out with this much appreciated.. Stefan Noble Paul നോബിള്‍  नोब्ळ्-2 wrote: hi   you don't see the point

Re: Shards param accepts spaces between commas?

2009-10-25 Thread Noble Paul നോബിള്‍ नोब्ळ्
On Sun, Oct 25, 2009 at 9:34 PM, Chris Hostetter hossman_luc...@fucit.org wrote: : It seems like no, and should be an easy change.  I'm putting newlines : after the commas so the large shards list doesn't scroll off the : screen. Yeah ... for some odd reason QueryComponnent is using

Re: Solr Random field

2009-10-26 Thread Noble Paul നോബിള്‍ नोब्ळ्
do you have a field whose type=random . If yes then u can sort by that field On Mon, Oct 26, 2009 at 3:35 PM, Pooja Verlani pooja.verl...@gmail.com wrote: Hi, I want a random sort type in the search results. The scenario is: I want to return random results with no context relation to the query

Re: Solr Configuration Management

2009-10-26 Thread Noble Paul നോബിള്‍ नोब्ळ्
2009/10/26 Licinio Fernández Maurelo licinio.fernan...@gmail.com: Hi there, i must enhance solr config deploys. I have a configuration file per environment and per role (Master-Slave) so i want to separate DataSource definitions from the solrconfig.xml . Where can i put them? are you

Re: problem using solr 1.4 multicore with shareSchema=true

2009-10-27 Thread Noble Paul നോബിള്‍ नोब्ळ्
hi, Looks like a bug. open an issue. On Wed, Oct 28, 2009 at 4:04 AM, Jeremy Hinegardner jer...@hinegardner.org wrote: Hi all, I was trying to use the new 'shareSchema=true' feature in solr 1.4 and it appears as though this will only happen in one configuration. I'd like someone to confirm

Re: problem using solr 1.4 multicore with shareSchema=true

2009-10-27 Thread Noble Paul നോബിള്‍ नोब्ळ्
I've opened an issue https://issues.apache.org/jira/browse/SOLR-1527 2009/10/28 Noble Paul നോബിള്‍ नोब्ळ् noble.p...@corp.aol.com: hi, Looks like a bug. open an issue. On Wed, Oct 28, 2009 at 4:04 AM, Jeremy Hinegardner jer...@hinegardner.org wrote: Hi all, I was trying to use the new

Fwd: Full Text Search: Solr on Cassandra

2009-10-28 Thread Noble Paul നോബിള്‍ नोब्ळ्
-- Forwarded message -- From: Nick Lothian nloth...@educationau.edu.au Date: Wed, Oct 28, 2009 at 11:37 AM Subject: Full Text Search: Solr on Cassandra To: cassandra-u...@incubator.apache.org cassandra-u...@incubator.apache.org Just in case anyone here is interested, I've managed

Re: Question about DIH execution order

2009-11-01 Thread Noble Paul നോബിള്‍ नोब्ळ्
On Sun, Nov 1, 2009 at 11:59 PM, Bertie Shen bertie.s...@gmail.com wrote: Hi folks,  I have the following data-config.xml. Is there a way to let transformation take place after executing SQL select comment from Rating where Rating.CourseId = ${Course.CourseId}?  In MySQL database, column

Re: Greater-than and less-than in data import SQL queries

2009-11-02 Thread Noble Paul നോബിള്‍ नोब्ळ्
On Mon, Nov 2, 2009 at 11:34 AM, Amit Nithian anith...@gmail.com wrote: A thought I had on this from a DIH design perspective. Would it be better to have the SQL queries stored in an element rather than an attribute so that you can wrap it in a CDATA block without having to mess up the look of

Re: Why does BinaryRequestWriter force the path to be base URL + /update/javabin

2009-11-02 Thread Noble Paul നോബിള്‍ नोब्ळ्
yup, that can be relaxed. It was just a convention. On Tue, Nov 3, 2009 at 5:24 AM, Stuart Tettemer stette...@gmail.com wrote: Hi folks, First of all, thanks for Solr.  It is a great piece of work. I have a question about BinaryRequestWriter in the solrj project.  Why does it force the path

Re: Annotations and reference types

2009-11-02 Thread Noble Paul നോബിള്‍ नोब्ळ्
I guess this is not a very good idea. The document itself is a flat data structure. It is hard to see that is nested datastructure. If allowed , how deep would we wish to make it. The simple solution would be to write setters for b_id and b_name in class A and the setters can inject values into

Re: How to integrate Solr into my project

2009-11-03 Thread Noble Paul നോബിള്‍ नोब्ळ्
is it a java project ? did you see this page http://wiki.apache.org/solr/Solrj ? On Tue, Nov 3, 2009 at 2:25 PM, Caroline Tan caroline@gmail.com wrote: Hi, I wish to intergrate Solr into my current working project. I've played around the Solr example and get it started in my tomcat. But

Re: solr search

2009-11-03 Thread Noble Paul നോബിള്‍ नोब्ळ्
start with the examples in the download. That should help On Wed, Nov 4, 2009 at 11:14 AM, manishkbawne manish.ba...@gmail.com wrote: Thank you for your reply. I have corrected this error, but now I am getting this error -- HTTP Status 500 - Bad version number in .class file

Re: Bug with DIH and MySQL CONCAT()?

2009-11-04 Thread Noble Paul നോബിള്‍ नोब्ळ्
Thanks, It would be nice to add this to the DIH FAQ On Wed, Nov 4, 2009 at 8:27 PM, Jonathan Hendler jonathan.hend...@gmail.com wrote: Thanks Chantal for the explanation of the issue. Avlesh - worked great. Thank you! On Nov 4, 2009, at 9:44 AM, Avlesh Singh wrote: Try cast(concat(...) as

Re: DIH timezone offset

2009-11-04 Thread Noble Paul നോബിള്‍ नोब्ळ्
DIH relies on the driver to get the date. It does not do any automatic conversion. Is it possible for the driver to give the date with the right offset? On Thu, Nov 5, 2009 at 3:21 AM, Mike mpiluson...@comcast.net wrote: Hi I'm importing database records into SOLR using the DIH. My dates are not

Re: DIH timezone offset

2009-11-05 Thread Noble Paul നോബിള്‍ नोब्ळ्
anyone to add this here http://wiki.apache.org/solr/DataImportHandlerFaq On Thu, Nov 5, 2009 at 8:35 PM, mpiluson...@comcast.net wrote: DIH relies on the driver to get the date. It does not do any automatic conversion. Is it possible for the driver to give the date with the right offset?

Re: Solr Replication: How to restore data from last snapshot

2009-11-06 Thread Noble Paul നോബിള്‍ नोब्ळ्
if it is a single core you will have to restart the master On Sat, Nov 7, 2009 at 1:55 AM, Osborn Chan oc...@shutterfly.com wrote: Thanks. But I have following use cases: 1) Master index is corrupted, but it didn't replicate to slave servers.        - In this case, I only need to restore to

Re: solr search

2009-11-07 Thread Noble Paul നോബിള്‍ नोब्ळ्
Please paste the complete stacktrace On Fri, Nov 6, 2009 at 1:37 PM, manishkbawne manish.ba...@gmail.com wrote: Thanks for assistance. Actually I installed jdk 6 and my problem was resolved. But now I am getting this exception:- org.apache.solr.handler.dataimport.DataImportHandlerException:

Re: Specifying multiple documents in DataImportHandler dataConfig

2009-11-07 Thread Noble Paul നോബിള്‍ नोब्ळ्
On Sun, Nov 8, 2009 at 8:25 AM, Bertie Shen bertie.s...@gmail.com wrote: I have figured out a way to solve this problem: just specify a single document blah blah blah /document. Under document, specify multiple top level entity entries, each of which corresponds to one table data. So each

Re: Getting started with DIH

2009-11-08 Thread Noble Paul നോബിള്‍ नोब्ळ्
On Mon, Nov 9, 2009 at 12:43 PM, Michael Lackhoff mich...@lackhoff.de wrote: On 09.11.2009 06:54 Erik Hatcher wrote: The brackets probably come from it being transformed as an array.  Try saying multiValued=false on your field specifications. Indeed. Thanks Erik that was it. My first steps

Re: Getting started with DIH

2009-11-08 Thread Noble Paul നോബിള്‍ नोब्ळ्
The tried and tested strategy is to post the question in this mailing list w/ your data-config.xml. On Mon, Nov 9, 2009 at 1:08 PM, Michael Lackhoff mich...@lackhoff.de wrote: On 09.11.2009 08:20 Noble Paul നോബിള്‍ नोब्ळ् wrote: It just started of as a single page and the features just got

Re: How to import multiple RSS-feeds with DIH

2009-11-09 Thread Noble Paul നോബിള്‍ नोब्ळ्
On Mon, Nov 9, 2009 at 1:26 PM, Michael Lackhoff mich...@lackhoff.de wrote: [A new thread for this particular problem] On 09.11.2009 08:44 Noble Paul നോബിള്‍ नोब्ळ् wrote: The tried and tested strategy is to post the question in this mailing list w/ your data-config.xml. See my data

Re: solr and hibernate integration

2009-11-09 Thread Noble Paul നോബിള്‍ नोब्ळ्
The point is that the usual complex POJO mapping does not work in Solr. For all the supported cases , SolrJ mapping works well To answer your question , I am not aware of anybody making it work w/ hibernate On Mon, Nov 9, 2009 at 1:54 PM, Kiwi de coder kiwio...@gmail.com wrote: hi, I had a

Re: [DIH] SqlEntityProcessor does not recognize onError attribute

2009-11-09 Thread Noble Paul നോബിള്‍ नोब्ळ्
On Mon, Nov 9, 2009 at 4:24 PM, Sascha Szott sz...@zib.de wrote: Hi all, as stated in the Solr-WIKI, Solr 1.4 allows it to specify an onError attribute for *each* entity listed in the data config file (it is considered as one of the default attributes). Unfortunately, the SqlEntityProcessor

Re: [DIH] blocking import operation

2009-11-09 Thread Noble Paul നോബിള്‍ नोब्ळ्
DIH imports are really long running. There is a good chance that the connection times out or breaks in between. how about a callback? On Tue, Nov 10, 2009 at 12:12 AM, Sascha Szott sz...@zib.de wrote: Hi all, currently, DIH's import operation(s) only works asynchronously. Therefore, after

Re: A question about how to make schema.xml change take effect

2009-11-09 Thread Noble Paul നോബിള്‍ नोब्ळ्
if your are using a multicore instance you may just reload the core On Tue, Nov 10, 2009 at 12:07 PM, Ritesh Gurung rit...@srijan.in wrote: Well everytime you make change in schema.xml file you need restart the tomcat server. On Tue, Nov 10, 2009 at 11:59 AM, Bertie Shen bertie.s...@gmail.com

Re: Configuring 1.4 - multi master setup?

2009-11-10 Thread Noble Paul നോബിള്‍ नोब्ळ्
see the setting up a repeater section in this page http://wiki.apache.org/solr/SolrReplication On Tue, Nov 10, 2009 at 5:17 PM, Kevin Jackson foamd...@gmail.com wrote: Hi all, We have a situation where we would like to have 1 Master server (creates the index) 1 input slave server (which

Re: Configuring 1.4 - multi master setup?

2009-11-10 Thread Noble Paul നോബിള്‍ नोब्ळ्
master is not located in the same LAN wunder On Nov 10, 2009, at 5:37 AM, Kevin Jackson wrote: Hi, 2009/11/10 Noble Paul നോബിള്‍  नोब्ळ् noble.p...@corp.aol.com: see the setting up a repeater section in this page http://wiki.apache.org/solr/SolrReplication Doh! Sorry for the noise

Re: [DIH] blocking import operation

2009-11-11 Thread Noble Paul നോബിള്‍ नोब्ळ्
Yes , open an issue . This is a trivial change On Thu, Nov 12, 2009 at 5:08 AM, Sascha Szott sz...@zib.de wrote: Noble, Noble Paul wrote: DIH imports are really long running. There is a good chance that the connection times out or breaks in between. Yes, you're right, I missed that point

Re: ${dataimporter.delta.twitter_id} not getting populated in deltaImportQuery

2009-11-11 Thread Noble Paul നോബിള്‍ नोब्ळ्
are you sure the data comes back in the same name. Some DBs return the field names in ALL CAPS you may try out a delta_import using a full import too http://wiki.apache.org/solr/DataImportHandlerFaq#My_delta-import_goes_out_of_memory_._Any_workaround_.3F On Wed, Nov 11, 2009 at 9:55 PM, Mark

Re: Persist in Core Admin

2009-11-11 Thread Noble Paul നോബിള്‍ नोब्ळ्
On Thu, Nov 12, 2009 at 3:13 AM, Jason Rutherglen jason.rutherg...@gmail.com wrote: It looks like our core admin wiki doesn't cover the persist action? http://wiki.apache.org/solr/CoreAdmin I'd like to be able to persist the cores to solr.xml, even if solr persistent=false.  It seems like the

Fwd: ${dataimporter.delta.twitter_id} not getting populated in deltaImportQuery

2009-11-12 Thread Noble Paul നോബിള്‍ नोब्ळ्
-- Forwarded message -- From: Noble Paul നോബിള്‍ नोब्ळ् noble.p...@corp.aol.com Date: 2009/11/12 Subject: Re: ${dataimporter.delta.twitter_id} not getting populated in deltaImportQuery To: Mark Ellul m...@catalystic.com On Thu, Nov 12, 2009 at 8:17 PM, Mark Ellul m

Re: javabin in .NET?

2009-11-12 Thread Noble Paul നോബിള്‍ नोब्ळ्
Is there any tool to directly port java to .Net? then we can etxract out the client part of the javabin code and convert it. On Thu, Nov 12, 2009 at 9:56 PM, Erik Hatcher erik.hatc...@gmail.com wrote: Has anyone looked into using the javabin response format from .NET (instead of SolrJ)? It's

Re: [DIH] concurrent requests to DIH

2009-11-12 Thread Noble Paul നോബിള്‍ नोब्ळ्
I guess SOLR-1352 should solve all the problems with performance. I am working on one currently and I hope to submit a patch soon. On Thu, Nov 12, 2009 at 8:05 PM, Sascha Szott sz...@zib.de wrote: Hi Avlesh, Avlesh Singh wrote: 1. Is it considered as good practice to set up several DIH

Re: Type converters for DocumentObjectBinder

2009-11-12 Thread Noble Paul നോബിള്‍ नोब्ळ्
create a setter method for the field which take s a Stringand apply the annotation there example private Calendar validFrom; @Field public void setvalidFrom(String s){ //convert to Calendar object and set the field } On Fri, Nov 13, 2009 at 12:24 PM, paulhyo st...@ouestil.ch wrote: Hi,

Re: Data import problem with child entity from different database

2009-11-13 Thread Noble Paul നോബിള്‍ नोब्ळ्
no obvious issues. you may post your entire data-config.xml do w/o CachedSqlEntityProcessor first and then apply that later On Fri, Nov 13, 2009 at 4:38 PM, Andrew Clegg andrew.cl...@gmail.com wrote: Morning all, I'm having problems with joining child a child entity from one database to a

Re: javabin in .NET?

2009-11-13 Thread Noble Paul നോബിള്‍ नोब्ळ्
in the libraries. 2009/11/13 Noble Paul നോബിള്‍ नोब्ळ् noble.p...@corp.aol.com Is there any tool to directly port java to .Net? then we can etxract out the client part of the javabin code and convert it. On Thu, Nov 12, 2009 at 9:56 PM, Erik Hatcher erik.hatc...@gmail.com wrote: Has anyone looked

Re: Data import problem with child entity from different database

2009-11-13 Thread Noble Paul നോബിള്‍ नोब्ळ्
am unable to get the file http://old.nabble.com/file/p26335171/dataimport.temp.xml On Fri, Nov 13, 2009 at 4:57 PM, Andrew Clegg andrew.cl...@gmail.com wrote: Noble Paul നോബിള്‍  नोब्ळ्-2 wrote: no obvious issues. you may post your entire data-config.xml Here it is, exactly as last

Re: javabin in .NET?

2009-11-13 Thread Noble Paul നോബിള്‍ नोब्ळ्
back when Microsoft introduced .Net, but IIRC they never really worked. Anyway it's not a big deal, it should be a straightforward job. Testing it thoroughly cross-platform is another thing though. 2009/11/13 Noble Paul നോബിള്‍ नोब्ळ् noble.p...@corp.aol.com The javabin format does not have

Re: javabin in .NET?

2009-11-15 Thread Noble Paul നോബിള്‍ नोब्ळ्
, porting NamedList, SolrDocument, SolrDocumentList Thanks for any help! Cheers, Mauricio 2009/11/14 Noble Paul നോബിള്‍ नोब्ळ् noble.p...@corp.aol.com OK. Is there anyone trying it out? where is this code ? I can try to help .. On Fri, Nov 13, 2009 at 8:10 PM, Mauricio Scheffer

Re: javabin in .NET?

2009-11-15 Thread Noble Paul നോബിള്‍ नोब्ळ्
start with a JavabinDecoder only so that the class is simple to start with. 2009/11/16 Noble Paul നോബിള്‍ नोब्ळ् noble.p...@corp.aol.com: For a client the marshal() part is not important.unmarshal() is probably all you need On Sun, Nov 15, 2009 at 12:36 AM, Mauricio Scheffer mauricioschef

Re: DataImportHandler Questions-Load data in parallel and temp tables

2009-11-16 Thread Noble Paul നോബിള്‍ नोब्ळ्
for an entity defined in data-config.xml) to act as entities for entity extraction and auto complete purposes and we are using some external application. No. it is not possible in Solr now. Noble Paul നോബിള്‍  नोब्ळ् wrote: writing to a remote Solr through SolrJ is in the cards. I may even take

Re: javabin in .NET?

2009-11-16 Thread Noble Paul നോബിള്‍ नोब्ळ्
? There is already one . look at BinaryRequestWriter. But I would say that may not make a lot of difference as indexing is a back-end operation and slight perf improvements won't make much difference. 2009/11/16 Noble Paul നോബിള്‍ नोब्ळ् noble.p...@corp.aol.com start with a JavabinDecoder only so

Re: $DeleteDocbyQuery in solr 1.4 is not working

2009-11-17 Thread Noble Paul നോബിള്‍ नोब्ळ्
are you sure that the doc w/ the same id was not created after that? On Mon, Nov 16, 2009 at 11:12 PM, Mark Ellul m...@catalystic.com wrote: Hi, I have added a deleted field in my database, and am using the Dataimporthandler to add rows to the index... I am using solr 1.4 I have added my

Re: $DeleteDocbyQuery in solr 1.4 is not working

2009-11-17 Thread Noble Paul നോബിള്‍ नोब्ळ्
? Regards Mark On 11/17/09, Noble Paul നോബിള്‍  नोब्ळ् noble.p...@corp.aol.com wrote: The question is, did your new delta-import created the doc again? On Tue, Nov 17, 2009 at 4:41 PM, Mark Ellul m...@catalystic.com wrote: The doc already existed before the delta-import has been run

Re: Control DIH from PHP

2009-11-19 Thread Noble Paul നോബിള്‍ नोब्ळ्
you can pass the uniqueId as a param and use it in a sql query http://wiki.apache.org/solr/DataImportHandler#Accessing_request_parameters. --Noble On Thu, Nov 19, 2009 at 3:53 PM, Pablo Ferrari pabs.ferr...@gmail.com wrote: Most specificly, I'm looking to update only one document using it's

Re: help with dataimport delta query

2009-11-23 Thread Noble Paul നോബിള്‍ नोब्ळ्
I guess the field names do not match in the deltaQuery you are selecting the field id and in the deltaImportQuery you us the field as ${dataimporter.delta.job_jobs_id} I guess it should be ${dataimporter.delta.id} On Tue, Nov 24, 2009 at 1:19 AM, Joel Nylund jnyl...@yahoo.com wrote: Hi, I have

Re: Multicore - Post xml to core0, core1 or core2

2009-11-25 Thread Noble Paul നോബിള്‍ नोब्ळ्
try this java -Durl=http://localhost:8983/solr/core0/update -jar post.jar *.xml On Wed, Nov 25, 2009 at 3:23 PM, Jörg Agatz joerg.ag...@googlemail.com wrote: Hallo, at the moment i tryed to create a Solr instance wite more then one Cores I use solr 1.4 and multicore Runs :-) But i dont know

Re: How to avoid hardcoding masterUrl in slave solrconfig.xml?

2009-11-30 Thread Noble Paul നോബിള്‍ नोब्ळ्
remove the lst name=slave section from your solrconfig. It should be fine On Tue, Dec 1, 2009 at 6:59 AM, William Pierce evalsi...@hotmail.com wrote: Hi, Joe: I tried with the fetchIndex all lower-cased, and still the same result. What do you specify for masterUrl in the solrconfig.xml on the

Re: Thought that masterUrl in slave solrconfig.xml is optional...

2009-12-01 Thread Noble Paul നോബിള്‍ नोब्ळ्
remove the slave section completely and startup will go thru fine On Tue, Dec 1, 2009 at 2:47 AM, William Pierce evalsi...@hotmail.com wrote: Folks: Reading the wiki,  I saw the following statement:  Force a fetchindex on slave from master command :

Re: 'Connection reset' in DataImportHandler Development Console

2009-12-01 Thread Noble Paul നോബിള്‍ नोब्ळ्
The debug tool for DIH dires queries in sync mode. it waits fro the import to complete for the page to show up. If the process takes long you r likely to see the connection reset message. For get about debug. what exactly do you want to do? 2009/8/17 Noble Paul നോബിള്‍ नोब्ळ् noble.p

Re: Response writer configs

2009-12-01 Thread Noble Paul നോബിള്‍ नोब्ळ्
I guess we should remove this commented response writers from the example solrconfig. It adds no value. On Wed, Dec 2, 2009 at 9:38 AM, Erik Hatcher erik.hatc...@gmail.com wrote: On Dec 1, 2009, at 9:04 PM, Ross wrote: I'm starting to play with Solr. This might be a silly question and not

<    1   2   3   4   5   6   7   8   9   10   >