Re: solr search

2009-11-07 Thread Noble Paul നോബിള്‍ नोब्ळ्
Please paste the complete stacktrace On Fri, Nov 6, 2009 at 1:37 PM, manishkbawne 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: Unable to > execute

Re: Specifying multiple documents in DataImportHandler dataConfig

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

Re: Getting started with DIH

2009-11-08 Thread Noble Paul നോബിള്‍ नोब्ळ्
This one is kind of a hack. So I have opened an issue. https://issues.apache.org/jira/browse/SOLR-1547 On Mon, Nov 9, 2009 at 12:43 PM, Michael Lackhoff wrote: > On 09.11.2009 06:54 Erik Hatcher wrote: > >> The brackets probably come from it being transformed as an array.  Try >> saying multiVa

Re: Getting started with DIH

2009-11-08 Thread Noble Paul നോബിള്‍ नोब्ळ्
On Mon, Nov 9, 2009 at 12:43 PM, Michael Lackhoff 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 specifications. > > Indeed. Thanks Erik that was it. > > My first steps with DIH sho

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 wrote: > On 09.11.2009 08:20 Noble Paul നോബിള്‍ नोब्ळ् wrote: > >> It just started of as a single page and the features just got pil

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 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. &g

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 wrote: > hi, > > I had a project which is

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

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 wrote: > Hi all, > > currently, DIH's import operation(s) only works asynchronously. Therefore, > after submitting

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 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 wrote: >> Hey folks, >> >>  When

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 wrote: > Hi all, > > We have a situation where we would like to have > 1 Master server (creates the index) > 1 input slave server (which receives the upda

Re: Configuring 1.4 - multi master setup?

2009-11-10 Thread Noble Paul നോബിള്‍ नोब्ळ्
not located in the same LAN > > wunder > > On Nov 10, 2009, at 5:37 AM, Kevin Jackson wrote: > >> Hi, >> >> 2009/11/10 Noble Paul നോബിള്‍  नोब्ळ् : >>> >>> see the setting up a repeater section in this page >>> >>> http://wiki.

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 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 (in my

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 Ell

Re: Persist in Core Admin

2009-11-11 Thread Noble Paul നോബിള്‍ नोब्ळ्
On Thu, Nov 12, 2009 at 3:13 AM, Jason Rutherglen 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 persistent="false">.  It seems like the persist action does this

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

2009-11-12 Thread Noble Paul നോബിള്‍ नोब्ळ्
-- Forwarded message -- From: Noble Paul നോബിള്‍ नोब्ळ् Date: 2009/11/12 Subject: Re: ${dataimporter.delta.twitter_id} not getting populated in deltaImportQuery To: Mark Ellul On Thu, Nov 12, 2009 at 8:17 PM, Mark Ellul wrote: > I think I got it working, thanks for y

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 wrote: > Has anyone looked into using the javabin response format from .NET (instead > of SolrJ)? > > It's mainly a curiosity.

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 wrote: > Hi Avlesh, > > Avlesh Singh wrote: >>> >>> 1. Is it considered as good practice to set up several DIH request >

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 wrote: > > Hi, > > I would li

Re: Type converters for DocumentObjectBinder

2009-11-13 Thread Noble Paul നോബിള്‍ नोब्ळ्
; >        } catch (ParseException e) { >                e.printStackTrace(); >        } >        this.validFrom = cal; > } > > > > > > > Noble Paul നോബിള്‍  नोब्ळ्-2 wrote: >> >> create a setter method for the field which take s a Stringand apply >> the a

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 wrote: > > Morning all, > > I'm having problems with joining child a child entity from one database to a > parent from anothe

Re: javabin in .NET?

2009-11-13 Thread Noble Paul നോബിള്‍ नोब्ळ्
> 2009/11/13 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 >> wrote: >> > Has anyon

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 wrote: > > > > Noble Paul നോബിള്‍  नोब्ळ्-2 wrote: >> >> no obvious issues. >> you may post your entire data-config.xml >> > &g

Re: javabin in .NET?

2009-11-13 Thread Noble Paul നോബിള്‍ नोब्ळ्
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 നോബിള്‍ नोब्ळ् > >> The javabin format does not h

Re: javabin in .NET?

2009-11-15 Thread Noble Paul നോബിള്‍ नोब्ळ्
NamedList, SolrDocument, SolrDocumentList > Thanks for any help! > > Cheers, > Mauricio > > 2009/11/14 Noble Paul നോബിള്‍ नोब्ळ् > >> 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, Mau

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 നോബിള്‍ नोब्ळ् : > 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 > wrote: >>

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

Re: javabin in .NET?

2009-11-16 Thread Noble Paul നോബിള്‍ नोब्ळ्
ne . 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 നോബിള്‍ नोब्ळ् > >> start with a JavabinDecoder only so that the class is sim

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 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 the deleted

Re: $DeleteDocbyQuery in solr 1.4 is not working

2009-11-17 Thread Noble Paul നോബിള്‍ नोब्ळ्
w would I see this meta data if it exists? > > Regards > > Mark > > On 11/17/09, Noble Paul നോബിള്‍  नोब्ळ् wrote: >> The question is, did your new delta-import created the doc again? >> >> On Tue, Nov 17, 2009 at 4:41 PM, Mark Ellul wrote: >>> The doc already

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 wrote: > Most specificly, I'm looking to update only one document using it's Unique > ID: I dont want t

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 wrote: > Hi, I have solr all working

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 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 how i post a XML in o

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

2009-11-30 Thread Noble Paul നോബിള്‍ नोब्ळ्
remove the section from your solrconfig. It should be fine On Tue, Dec 1, 2009 at 6:59 AM, William Pierce 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 slave?   it > seems to me tha

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 wrote: > Folks: > > Reading the wiki,  I saw the following statement: >  "Force a fetchindex on slave from master command : > http://slave_host:port/solr/replication?command=fetchinde

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 നോബിള്‍ नोब्ळ् : > apparentl

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 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 >> particularly impo

Re: no error delta fail with DataImportHandler

2009-12-02 Thread Noble Paul നോബിള്‍ नोब्ळ्
the deltaQuery select 'product_id' and your deltaImportQuery uses ${dataimporter.delta.id} I guess it should have been ${dataimporter.delta. product_id} On Wed, Dec 2, 2009 at 11:52 PM, Thomas Woodard wrote: > > I'm trying to get delta indexing set up. My configuration allows a full index > no p

Re: getting value from parent query in subquery transformer

2009-12-02 Thread Noble Paul നോബിള്‍ नोब्ळ्
you do not need to pass the values as shown here. Make use of the Context parameter (second implicit parameter) to get hold of the value of ${item.category} context.getVariableResolver().resolve('item.category')) On Wed, Dec 2, 2009 at 7:20 PM, Joel Nylund wrote: > Hi, I have an entity that has

Re: no error delta fail with DataImportHandler

2009-12-03 Thread Noble Paul നോബിള്‍ नोब्ळ्
probably you can try out this http://wiki.apache.org/solr/DataImportHandlerFaq#fullimportdelta and it may give you more info on what is happeining On Thu, Dec 3, 2009 at 10:58 PM, Thomas Woodard wrote: > > Unfortunately that isn't it. I have tried id, product_id, and PRODUCT_ID, and > they all

Re: Exception encountered during replication on slave....Any clues?

2009-12-07 Thread Noble Paul നോബിള്‍ नोब्ळ्
are you able to hit the http://localhost:8080/postingsmaster/replication using a browser from the slave box. if you are able to hit it what do you see? On Tue, Dec 8, 2009 at 3:42 AM, William Pierce wrote: > Just to make doubly sure,  per tck's suggestion,  I went in and explicitly > added in th

Re: how to set CORE when using Apache Solr extension?

2009-12-07 Thread Noble Paul നോബിള്‍ नोब्ळ्
the core is a part of the uri http://host:port///select say if the core name is core1 and solr app name is solr deployed at port 8983 then it would look like http://host:8983/solr/core1/select On Tue, Dec 8, 2009 at 3:44 AM, regany wrote: > > Hello, > > Can anyone tell me how you set which Solr

Re: Oddly slow replication

2009-12-07 Thread Noble Paul നോബിള്‍ नोब्ळ्
this has to be a network problem . We have never encountered such vastly different speeds in the same LAN. On Tue, Dec 8, 2009 at 3:22 AM, Simon Wistow wrote: > I have a Master server with two Slaves populated via Solr 1.4 native > replication. > > Slave1 syncs at a respectable speed i.e around 1

Re: How to setup dynamic multicore replication

2009-12-08 Thread Noble Paul നോബിള്‍ नोब्ळ्
On Tue, Dec 8, 2009 at 2:43 PM, Thijs wrote: > Hi > > I need some help setting up dynamic multicore replication. > > We are changing our setup from a replicated single core index with multiple > document types, as described on the wiki[1], to a dynamic multicore setup. > We need this so that we ca

Re: Tika and DIH integration (https://issues.apache.org/jira/browse/SOLR-1358)

2009-12-08 Thread Noble Paul നോബിള്‍ नोब्ळ्
we are very close to resolving SOLR-1358 . So you may be able to use it On Tue, Dec 8, 2009 at 5:32 PM, Jorg Heymans wrote: > Hi, > > I am looking into using Solr for indexing a large database that has > documents (mostly pdf and msoffice) stored as CLOBs in several tables. > It is my understandi

Re: Replicating multiple cores

2009-12-08 Thread Noble Paul നോബിള്‍ नोब्ळ्
On Wed, Dec 9, 2009 at 6:14 AM, Jason Rutherglen wrote: >> Yes. I'd highly recommend using the Java replication though. > > Is there a reason?  I understand it's new etc, however I think one > issue with it is it's somewhat non-native access to the filesystem. > Can you illustrate a real world adv

Re: indexing XML with solr example webapp - out of java heap space

2009-12-09 Thread Noble Paul നോബിള്‍ नोब्ळ्
the post.jar does not stream. use "curl" if you are using *nix. --Noble On Wed, Dec 9, 2009 at 12:28 AM, Feroze Daud wrote: > Hi! > > > > I downloaded SOLR and am trying to index an XML file. This XML file is > huge (500M). > > > > When I try to index it using the "post.jar" tool in example\examp

Re: DIH solrconfig

2009-12-09 Thread Noble Paul നോബിള്‍ नोब्ळ्
On Wed, Dec 9, 2009 at 3:34 PM, Lee Smith wrote: > Hi All > > There seems to be massive difference between the solrconfig in the DIH > example to the one in the normal example ? > > Would I be correct in saying if I was to add the dataimport request handler > in the solrconfig.xml thats all I will

Re: Exception encountered during replication on slave....Any clues?

2009-12-09 Thread Noble Paul നോബിള്‍ नोब्ळ्
s not available".    By > the way, when I go to the admin url for the slave and click on replication, > I see a screen with the master url listed (as above) and the word > "unreachable" after it.    And, of course, the same exception shows up in > the tomcat logs. >

Re: Custom Field sample?

2009-12-11 Thread Noble Paul നോബിള്‍ नोब्ळ्
how exactly do you wish to query these documents? On Fri, Dec 11, 2009 at 4:35 PM, Antonio Zippo wrote: > I need to add theese "features" to each document > > Document1 > --- > Argument1, positive > Argument2, positive > Argument3, neutral > Argument4, positive > Argument5, negative >

Re: question regarding dynamic fields

2009-12-14 Thread Noble Paul നോബിള്‍ नोब्ळ्
use a copyField to copy those fields to another field and search on that On Mon, Dec 14, 2009 at 1:00 PM, Phanindra Reva wrote: > Hello.., >             I have observed that the text or keywords which are being > indexed using dynamicField concept are being searchable only when we > mention field

Re: Request Assistance with DIH

2009-12-14 Thread Noble Paul നോബിള്‍ नोब्ळ्
On Sat, Dec 12, 2009 at 6:15 AM, Robbin wrote: > I've been trying to use the DIH with oracle and would love it if someone > could give me some pointers.  I put the ojdbc14.jar in both the Tomcat lib > and /lib.  I created a dataimport.xml and enabled it in the > solrconfig.xml.  I go to the http:/

Re: apache-solr-common.jar

2009-12-14 Thread Noble Paul നോബിള്‍ नोब्ळ्
there is no solrcommon jar anymore. you may use the solrj jar which contains all the classes which were there in the comon jar. On Mon, Dec 14, 2009 at 9:22 PM, gudumba l wrote: > Hello All, >               I have been using apache-solr-common-1.3.0.jar in my module. > I am planning to shift to t

Re: How to get Solr 1.4 to replicate spellcheck directories as well?

2009-12-16 Thread Noble Paul നോബിള്‍ नोब्ळ्
On Wed, Dec 16, 2009 at 11:04 PM, Rob Casson wrote: > i don't think that's currently supported, but sure others will correct > me if i'm wrong: you are not wrong.. There is an issue open for the same. > >     > http://www.lucidimagination.com/search/document/ac8cf41bdb761069/solr_replication_and_s

Re: solr core size on disk

2009-12-16 Thread Noble Paul നോബിള്‍ नोब्ळ्
look at the index dir and see the size of the files . it is typically in $SOLR_HOME/data/index On Thu, Dec 17, 2009 at 2:56 AM, Matthieu Labour wrote: > Hi > I am new to solr. Here is my question: > How to find out the size of a solr core on disk ? > Thank you > matt > --

Re: shards parameter

2009-12-17 Thread Noble Paul നോബിള്‍ नोब्ळ्
yes. put it under the "defaults" section in your standard requesthandler. On Thu, Dec 17, 2009 at 5:22 PM, pcurila wrote: > > Hello, is there any way to configure shards parameter in solrconfig.xml? So I > do not need provide it in the url. Thanks Peter > -- > View this message in context: > htt

Re: Question about updateRequestProcessorChain

2009-12-17 Thread Noble Paul നോബിള്‍ नोब्ळ्
At least one processor chain is invoked. if you do not want the custom chain to be invoked create a chain without the name and without your custom processor On Thu, Dec 17, 2009 at 1:16 PM, Shalin Shekhar Mangar wrote: > On Thu, Dec 17, 2009 at 3:35 AM, Manepalli, Kalyan < > kalyan.manepa...@orb

Re: CCU of Solr?

2009-12-18 Thread Noble Paul നോബിള്‍ नोब्ळ्
it is very difficult to say. It depends on the cache hit ratio. If everything is served out of cache you may go upto arounbf 1000 req/sec On Fri, Dec 18, 2009 at 1:39 PM, Olala wrote: > > Hi all! > > I am developing an online dictionary application by using Solr, but I wonder > that how many conc

Re: Is DataImportHandler ThreadSafe???

2009-12-19 Thread Noble Paul നോബിള്‍ नोब्ळ्
On Sat, Dec 19, 2009 at 2:16 PM, gurudev wrote: > > Hi, > Just wanted to know, Is the DataImportHandler available in solr1.3 > thread-safe?. I would like to use multiple instances of data import handler > running concurrently and posting my various set of data from DB to Index. > > Can I do this b

Re: Documents are indexed but not searchable

2009-12-20 Thread Noble Paul നോബിള്‍ नोब्ळ्
just search for *:* and see if the docs are indeed there in the index. --Noble On Mon, Dec 21, 2009 at 9:26 AM, krosan wrote: > > Hi, > > I'm trying to test solr for a proof of concept project, but I'm having some > problems. > > I indexed my document, but when I search for a word which is 100% ce

Re: suggestions for DIH batchSize

2009-12-22 Thread Noble Paul നോബിള്‍ नोब्ळ्
A bigger batchSize results in increased memory usage. I guess performance should be slightly better with bigger values but not verified. On Wed, Dec 23, 2009 at 2:51 AM, Joel Nylund wrote: > Hi, > > it looks like from looking at the code the default is 500, is the > recommended setting for this?

Re: Slight issue with classloading and DataImportHandler

2008-06-21 Thread Noble Paul നോബിള്‍ नोब्ळ्
We plan to use SolrResourceLoader (next patch).. So anyone wishing to plugin their classes can refer the classname with solr.. --Noble On Sat, Jun 21, 2008 at 3:06 AM, Chris Hostetter <[EMAIL PROTECTED]> whi rote: > > : But we still prefer the usage of DIH package classes without any prefix. > :

Re: Slight issue with classloading and DataImportHandler

2008-06-21 Thread Noble Paul നോബിള്‍ नोब्ळ्
ned here: > > http://www.nabble.com/New-Feature:-$%7Bsolr.home%7D-lib--dir-for-%22plugins%22-tt7350634r5.html > > For the moment, I've altered you code to use the SolrResourceLoader for > resolving classes and it's working well for me. > > Thanks again! > Brendan >

Re: adding documents with json post

2008-06-22 Thread Noble Paul നോബിള്‍ नोब्ळ्
You can write a servletfilter which can read the json stream and convert it to xml or write a requesthandler which can read a json stream and call the updatehandler with the documents --Noble On Mon, Jun 23, 2008 at 8:15 AM, Neville Burnell <[EMAIL PROTECTED]> wrote: > If you are using ruby on you

Re: Attempting dataimport using FileListEntityProcessor

2008-06-23 Thread Noble Paul നോബിള്‍ नोब्ळ्
hi , You have not registered any datasources . the second entity needs a datasource. Remove the dataSource="null" and add a name for the second entity (good practice). No need for baseDir attribute for second entity . See the modified xml added below --Noble On Tue, Jun 24, 2008

Re: Attempting dataimport using FileListEntityProcessor

2008-06-23 Thread Noble Paul നോബിള്‍ नोब्ळ्
> if there are 50K docs per file, I'm thinking that I should probably code up > my own DataSource that allows me to stipulate docs/update. Like say, 100 > instead of 50K. Does this make sense? > > Mike > > > Noble Paul നോബിള്‍ नोब्ळ् wrote: >> >> hi , >

Re: Attempting dataimport using FileListEntityProcessor

2008-06-23 Thread Noble Paul നോബിള്‍ नोब्ळ्
Just extend XPathEntityProcessor override nextRow() after 100 return null. Use it as your processor --Noble On Tue, Jun 24, 2008 at 10:45 AM, Noble Paul നോബിള്‍ नोब्ळ् <[EMAIL PROTECTED]> wrote: > Just extend XPathEntityProcessor override nextRow() after 100 . Use > it as yo

Re: Parser of Response XML

2008-06-24 Thread Noble Paul നോബിള്‍ नोब्ळ्
org.apache.solr.client.solrj.impl.XMLResponseParser On Tue, Jun 24, 2008 at 3:06 PM, Ranjeet <[EMAIL PROTECTED]> wrote: > Hi, > > is any class is available in SOLR API to parse the response XML? > > Regards, > Ranjeet -- --Noble Paul

Re: DataImportHandler running out of memory

2008-06-24 Thread Noble Paul നോബിള്‍ नोब्ळ्
DIH streams rows one by one. set the fetchSize="-1" this might help. It may make the indexing a bit slower but memory consumption would be low. The memory is consumed by the jdbc driver. try tuning the -Xmx value for the VM --Noble On Wed, Jun 25, 2008 at 8:05 AM, Shalin Shekhar Mangar <[EMAIL PRO

Re: DataImportHandler running out of memory

2008-06-24 Thread Noble Paul നോബിള്‍ नोब्ळ्
it is batchSize="-1" not fetchSize. Or keep it to a very small value. --Noble On Wed, Jun 25, 2008 at 9:31 AM, Noble Paul നോബിള്‍ नोब्ळ् <[EMAIL PROTECTED]> wrote: > DIH streams rows one by one. > set the fetchSize="-1" this might help. It may make the in

Re: DataImportHandler running out of memory

2008-06-25 Thread Noble Paul നോബിള്‍ नोब्ळ्
DIH does not modify SQL. This value is used as a connection property --Noble On Wed, Jun 25, 2008 at 4:40 PM, Grant Ingersoll <[EMAIL PROTECTED]> wrote: > I'm assuming, of course, that the DIH doesn't automatically modify the SQL > statement according to the batch size. > > -Grant > > On Jun 25, 2

Re: DataImportHandler running out of memory

2008-06-25 Thread Noble Paul നോബിള്‍ नोब्ळ्
The latest patch sets fetchSize as Integer.MIN_VALUE if -1 is passed. It is added specifically for mysql driver --Noble On Wed, Jun 25, 2008 at 4:35 PM, Grant Ingersoll <[EMAIL PROTECTED]> wrote: > I think it's a bit different. I ran into this exact problem about two weeks > ago on a 13 million r

Re: DataImportHandler running out of memory

2008-06-25 Thread Noble Paul നോബിള്‍ नोब्ळ्
We must document this information in the wiki. We never had a chance to play w/ ms sql server --Noble On Thu, Jun 26, 2008 at 12:38 AM, wojtekpia <[EMAIL PROTECTED]> wrote: > > It looks like that was the problem. With responseBuffering=adaptive, I'm able > to load all my data using the sqljdbc dr

Re: Solr Security and XSRF

2008-06-29 Thread Noble Paul നോബിള്‍ नोब्ळ्
If you have a master slave configuration I guess it is a good idea to remove the updatehandler altogether from slaves. --Noble On Sat, Jun 28, 2008 at 2:39 AM, Chris Hostetter <[EMAIL PROTECTED]> wrote: > > : > A basic technique that can be used to mitigate the risk of a possible CSRF > : > attack

Re: Solr Security and XSRF

2008-06-29 Thread Noble Paul നോബിള്‍ नोब्ळ्
SOLR-607 is still open.Till it is committed this solution may not be poossible --Noble On Mon, Jun 30, 2008 at 10:23 AM, Noble Paul നോബിള്‍ नोब्ळ् <[EMAIL PROTECTED]> wrote: > If you have a master slave configuration I guess it is a good idea to > remove the updatehandler altogether

Re: Minimum JDK for SolrJ?

2008-06-30 Thread Noble Paul നോബിള്‍ नोब्ळ्
SolrJ needs a minimum java 5 --Noble On Mon, Jun 30, 2008 at 8:00 PM, Todd Breiholz <[EMAIL PROTECTED]> wrote: > What is the minimum JDK that can be used for developing clients that use > SolrJ? I am stuck on JDK 1.4.2 at the moment and am wondering if SolrJ is an > option for me. > > Thanks! > >

Re: DataImportHandler - combined DataSource possible?

2008-07-01 Thread Noble Paul നോബിള്‍ नोब्ळ्
There is a section with this information http://wiki.apache.org/solr/DataImportHandler#head-138482af9d5c5e9600e60b4135c3eb41d8b34098 --Noble On Tue, Jul 1, 2008 at 8:08 PM, Shalin Shekhar Mangar <[EMAIL PROTECTED]> wrote: > Hi Jon, > > Yes it is possible. Define two dataSources in the data config

Re: dataimporter last_index_something

2008-07-01 Thread Noble Paul നോബിള്‍ नोब्ळ्
Currently there is nothing . There is a hackish way to achieve it. DIH allows to read values from request params and use it in the templates. eg: query="select * from atable where id > ${dataimporter.request.last_id}" so, DIH must be invoked with the extra request param last_id like this http://:/

Re: Which parser is used to parse response XML efficientl got from Solr

2008-07-03 Thread Noble Paul നോബിള്‍ नोब्ळ्
Solr uses StaX API for parsing xml. use org.apache.solr.client.solrj.impl.XMLResponseParser --Noble On Fri, Jul 4, 2008 at 11:13 AM, Ranjeet <[EMAIL PROTECTED]> wrote: > Hi, > > Which parser is used to parse Response XML got from Solr search server. can > you pass sample code if you have. > > Tha

Re: Which parser is used to parse response XML efficientl got from Solr

2008-07-03 Thread Noble Paul നോബിള്‍ नोब्ळ्
apache-solr-solrj-1.3-dev.jar apache-solr-common-1.3-dev.jar On Fri, Jul 4, 2008 at 12:19 PM, Ranjeet <[EMAIL PROTECTED]> wrote: > which jar file should we include? > > ranjeet > - Original Message - From: "Noble Paul ??? ??" > <[EMAIL PROTECTED]> > To: > Sent: Friday, July 04, 2

Re: Bulk delete

2008-07-04 Thread Noble Paul നോബിള്‍ नोब्ळ्
You can either delete by a query or by an id. It is like you use any database . If you can find a condition by which you can identify these docs then you can delete by a query . --Noble On Fri, Jul 4, 2008 at 8:22 PM, Jonathan Ariel <[EMAIL PROTECTED]> wrote: > Hi, > Is there any good way to do a b

Re: Which parser is used to parse response XML efficientl got from Solr

2008-07-06 Thread Noble Paul നോബിള്‍ नोब्ळ्
Take a look at http://wiki.apache.org/solr/Solrj >> >> On Sun, Jul 6, 2008 at 7:23 PM, Ranjeet Jha >> <[EMAIL PROTECTED]> >> wrote: >> >>> It would be great if you send the sample code to parse the Solr >>> responseXML. >>> >>&

Re: Which parser is used to parse response XML get from Solr

2008-07-07 Thread Noble Paul നോബിള്‍ नोब्ळ्
From: "Shalin Shekhar Mangar" < >>> [EMAIL PROTECTED]> >>> To: >>> Sent: Sunday, July 06, 2008 7:32 PM >>> Subject: Re: Which parser is used to parse response XML efficientl got >>> from >>> Solr >>> >>> >&g

Re: Which parser is used to parse response XML get from Solr

2008-07-07 Thread Noble Paul നോബിള്‍ नोब्ळ्
gt; > I have gone through the follwing link but could not find the any section of > setting classpath for SolrJ. Pls help me how to come out this problem. > > Thanks > Ranjeet > - Original Message ----- From: "Noble Paul നോബിള്‍ नोब्ळ्" > <[EMAIL PROTECTED]>

Re: Integrate Solr with Tomcat in Linux

2008-07-08 Thread Noble Paul നോബിള്‍ नोब्ळ्
The context 'solr' is not initialized. The most likely reson is that you have not set the solr.home correctly. --Noble On Wed, Jul 9, 2008 at 3:24 AM, sandeep kaur <[EMAIL PROTECTED]> wrote: > > Hi, > > As i am running tomcat after copying the solr files to appropriate tomcat > directories, i am

Re: Indexing xml data

2008-07-09 Thread Noble Paul നോബിള്‍ नोब्ळ्
You can put it into a 'string' field directly On Wed, Jul 9, 2008 at 7:41 PM, Alexander Ramos Jardim <[EMAIL PROTECTED]> wrote: > I need to put big xml files on a string field in one of my projects. Does > Solr accept it automatically or should I put a on my xml before > putting on the index? >

Re: Indexing xml data

2008-07-09 Thread Noble Paul നോബിള്‍ नोब्ळ्
yep. you cant search. It is better to extract the data out and index it if you want to search On Wed, Jul 9, 2008 at 8:37 PM, Norberto Meijome <[EMAIL PROTECTED]> wrote: > On Wed, 9 Jul 2008 19:51:45 +0530 > "Noble Paul _ __" <[EMAIL PROTECTED]> > wrote: > >> Y

Re: Indexing xml data

2008-07-09 Thread Noble Paul നോബിള്‍ नोब्ळ्
On Wed, Jul 9, 2008 at 8:46 PM, Noble Paul നോബിള്‍ नोब्ळ् <[EMAIL PROTECTED]> wrote: > yep. you cant search. It is better to extract the data out and index > it if you want to search > > On Wed, Jul 9, 2008 at 8:37 PM, Norberto Meijome <[EMAIL PROTECTED]> wrote: >&g

Re: tagging application, best way to architect?

2008-07-09 Thread Noble Paul നോബിള്‍ नोब्ळ्
On Thu, Jul 10, 2008 at 7:53 AM, aris buinevicius <[EMAIL PROTECTED]> wrote: > We're trying to implement a large scale domain specific web email > application, and so far solr performance on the search side is really doing > well for us. > > There are two limitations that I can't seem to get around

Re: How / Does commit work?

2008-07-10 Thread Noble Paul നോബിള്‍ नोब्ळ्
Commmit automaticallly does not create snapshots. You must register the listener to do so http://wiki.apache.org/solr/CollectionDistribution#head-532ab57f4a3a9cc3ce129a9fb698a01aceb6d0c2 --Noble On Thu, Jul 10, 2008 at 11:56 AM, Jacob Singh <[EMAIL PROTECTED]> wrote: > Hi, > > I'm trying to get

Re: How / Does commit work?

2008-07-10 Thread Noble Paul നോബിള്‍ नोब्ळ्
, but what about the first part of my > question? It says it is failing, but doesn't look like it, but then I > have nothing to go on. > > Best, > Jacob > > > Noble Paul നോബിള്‍ नोब्ळ् wrote: >> Commmit automaticallly does not create snapshots. You must register >

Re: Do I need Searcher on indexing machine

2008-07-10 Thread Noble Paul നോബിള്‍ नोब्ळ्
Searcher is started anyway. I do not think it is very expensive if the searcher is not used. On Thu, Jul 10, 2008 at 11:04 PM, climbingrose <[EMAIL PROTECTED]> wrote: > You do, I think. Have a look at DirectUpdateHandler2 class. > > On Thu, Jul 10, 2008 at 9:16 PM, Gudata <[EMAIL PROTECTED]> wrot

Re: HttpDataSource questions

2008-07-11 Thread Noble Paul നോബിള്‍ नोब्ळ्
On Fri, Jul 11, 2008 at 11:46 PM, Jon Baer <[EMAIL PROTECTED]> wrote: > Hi, > > On the wiki it says that url attribute can be templatized but Im not sure > how that happens, do you I need to create something read from a database > column in order to use that type of function? ie Id like to run ove

Re: Using SolrJ for response

2008-07-14 Thread Noble Paul നോബിള്‍ नोब्ळ्
You may need to check your classpath and ensure that you are using the correct versions of httpclient (the ones shipped with solr) On Mon, Jul 14, 2008 at 1:00 PM, Ranjeet <[EMAIL PROTECTED]> wrote: > Hi, > > I am new to solrJ, in following code I got exception. Plese help, we did not > get getP

Re: Duplicate content

2008-07-15 Thread Noble Paul നോബിള്‍ नोब्ळ्
You must do a check before adding documents On Tue, Jul 15, 2008 at 1:15 PM, Sunil <[EMAIL PROTECTED]> wrote: > Hi All, > > I want to change the duplicate content behavior in solr. What I want to > do is: > > 1) I don't want duplicate content. > 2) I don't want to overwrite old content with new on

Re: Solr stops responding

2008-07-15 Thread Noble Paul നോബിള്‍ नोब्ळ्
Can we collect more information. It would be nice to know what the threads are doing when it hangs. If you are using *nix issue kill -3 it would print out the stacktrace of all the threads in the VM . That may tell us what is the state of each thread which could help us suggest something On Tue

Re: DataImportHandler current_index_time & post-completion actio

2008-07-16 Thread Noble Paul നോബിള്‍ नोब्ळ्
comments inline On Thu, Jul 17, 2008 at 5:00 AM, wojtekpia <[EMAIL PROTECTED]> wrote: > > I have two questions: > > 1. I am pulling data from 2 data sources using the DIH. I am using the > deltaQuery functionality. Since the data sources pull data sequentially, I > find that some data is getting u

Re: IllegalArgumentException with Solrj DocumentObjectBinder

2008-07-19 Thread Noble Paul നോബിള്‍ नोब्ळ्
it is a bug . I'll post a new patch On Sat, Jul 19, 2008 at 7:10 PM, chris sleeman <[EMAIL PROTECTED]> wrote: > Hi, > > I have a multivalued Solr text field, called 'categories', which is mapped > to a String[] in my java bean. I am directly converting the search results > to this bean. > This w

Re: IllegalArgumentException with Solrj DocumentObjectBinder

2008-07-19 Thread Noble Paul നോബിള്‍ नोब्ळ्
meanwhile , you can manage by making the field List categories; On Sat, Jul 19, 2008 at 11:22 PM, Noble Paul നോബിള്‍ नोब्ळ् <[EMAIL PROTECTED]> wrote: > it is a bug . I'll post a new patch > > > > On Sat, Jul 19, 2008 at 7:10 PM, chris sleeman <[EMAIL PROTECTED]&

Re: IllegalArgumentException with Solrj DocumentObjectBinder

2008-07-19 Thread Noble Paul നോബിള്‍ नोब्ळ्
A patch is submitted in SOLR-536 On Sat, Jul 19, 2008 at 11:23 PM, Noble Paul നോബിള്‍ नोब्ळ् <[EMAIL PROTECTED]> wrote: > meanwhile , you can manage by making the field > List categories; > > On Sat, Jul 19, 2008 at 11:22 PM, Noble Paul നോബിള്‍ नोब्ळ् > <[EMAIL PROTECTED

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