Re: preImportDeleteQuery

2009-05-07 Thread Noble Paul നോബിള്‍ नोब्ळ्
are you doing a full-import or a delta-import? for delta-import there is an option of deletedPkQuery which should meet your needs On Fri, May 8, 2009 at 5:22 AM, wojtekpia wojte...@hotmail.com wrote: Hi, I'm importing data using the DIH. I manage all my data updates outside of Solr, so I use

Re: Solr spring application context error

2009-05-07 Thread Noble Paul നോബിള്‍ नोब्ळ्
a point to keep in mind is that all the plugin code and everything else must be put into the solrhome/lib directory. where have you placed the file com/mypackage/applicationContext.xml ? On Fri, May 8, 2009 at 12:19 AM, Raju444us gudipal...@gmail.com wrote: I have configured solr using

Fwd: Solr MultiCore dataDir bug - a fix

2009-05-07 Thread Noble Paul നോബിള്‍ नोब्ळ्
I didn't notice that the mail was not sent to the list. Plz send all your communication to the mailing list -- Forwarded message -- From: Noble Paul നോബിള്‍ नोब्ळ् noble.p...@corp.aol.com Date: 2009/5/8 Subject: Re: Solr MultiCore dataDir bug - a fix To: pasi.j.matilai

Re: Core Reload issue

2009-05-08 Thread Noble Paul നോബിള്‍ नोब्ळ्
As long as your indexed documents have the stop words you will continue to see the stop words in the results. On Fri, May 8, 2009 at 11:24 AM, Sagar Khetkade sagar.khetk...@hotmail.com wrote: From my understanding re-indexing the documents is a different thing. If you have the stop word

Re: Is it possible to writing solr result on disk from the server side?

2009-05-08 Thread Noble Paul നോബിള്‍ नोब्ळ्
continuously. So even if it seems possible with EmbeddedSolrServer, sharing the xml results on a file will be a faster solution for me regarding also the development time. Noble Paul നോബിള്‍  नोब्ळ्-2 wrote: did you consider using an EmbeddedSolrServer? On Thu, May 7, 2009 at 8:25 PM, arno13

solr + wordpress

2009-05-08 Thread Noble Paul നോബിള്‍ नोब्ळ्
Somebody has writte an articles on integrating Solr with wordpress http://www.ipros.nl/2008/12/15/using-solr-with-wordpress/ -- - Noble Paul | Principal Engineer| AOL | http://aol.com

Re: no subject aka Replication Stall

2009-05-08 Thread Noble Paul നോബിള്‍ नोब्ळ्
On Sat, May 9, 2009 at 2:23 AM, Yonik Seeley yo...@lucidimagination.com wrote: 2009/5/7 Noble Paul നോബിള്‍  नोब्ळ् noble.p...@corp.aol.com: BTW, if the timeout occurs it resumes from the point where the failure happened. It retries 5 times before giving up. Sweet!  I was just going to ask

Re: STop dataimport full-import

2009-05-11 Thread Noble Paul നോബിള്‍ नोब्ळ्
you can abort a running import with command=abort if you kill the jetty in between Lucene would commit the uncommitted docs On Mon, May 11, 2009 at 3:13 PM, Andrew McCombe eupe...@gmail.com wrote: Hi Is it possible to stop a full-import from a dataimport handler and if so, how? If I stop

Re: Providing fault tolerance with Solr

2009-05-11 Thread Noble Paul നോബിള്‍ नोब्ळ्
The fault tolerance is achieved using external loadbalancing .you can use an external /w loadbalancer or a simple one like this http://wiki.apache.org/solr/LBHttpSolrServer for java or http://code.google.com/p/solr-php-client/ for php On Tue, May 12, 2009 at 3:38 AM, mirage1987

Re: master/slave failure scenario

2009-05-13 Thread Noble Paul നോബിള്‍ नोब्ळ्
On Wed, May 13, 2009 at 12:10 PM, nk 11 nick.cass...@gmail.com wrote: Hello I'm kind of new to Solr and I've read about replication, and the fact that a node can act as both master and slave. I a replica fails and then comes back on line I suppose that it will resyncs with the master. right

Re: master/slave failure scenario

2009-05-13 Thread Noble Paul നോബിള്‍ नोब्ळ्
Noble Paul നോബിള്‍ नोब्ळ् noble.p...@corp.aol.com  On Wed, May 13, 2009 at 12:10 PM, nk 11 nick.cass...@gmail.com wrote: Hello I'm kind of new to Solr and I've read about replication, and the fact that a node can act as both master and slave. I a replica fails and then comes back on line

Re: Max no of solr cores supported and how to restrict a query to a particular core?

2009-05-14 Thread Noble Paul നോബിള്‍ नोब्ळ्
there is no hard limit on the no:of cores. it is limited by your system's ability to open files and the resources. the queries are automatically sent to appropriate core if your url is htt://host:port/corename/select On Thu, May 14, 2009 at 1:58 PM, KK dioxide.softw...@gmail.com wrote: I want

Re: master/slave failure scenario

2009-05-14 Thread Noble Paul നോബിള്‍ नोब्ळ्
:( On Thu, May 14, 2009 at 3:37 PM, nk 11 nick.cass...@gmail.com wrote: oh, so the configuration must be manualy changed? Can't something be passed at (re)start time? 2009/5/14 Noble Paul നോബിള്‍ नोब्ळ् noble.p...@corp.aol.com On Thu, May 14, 2009 at 4:07 PM, nk 11 nick.cass...@gmail.com wrote

Re: Max no of solr cores supported and how to restrict a query to a particular core?

2009-05-14 Thread Noble Paul നോബിള്‍ नोब्ळ्
only] so that the user will be given a search interface that will redirect all searches for this user to http://host:port/unique core name for this user/select Will apprecite any ideas on this. Thanks, KK. 2009/5/14 Noble Paul നോബിള്‍ नोब्ळ् noble.p...@corp.aol.com there is no hard limit

Re: replication of lucene-write.lock file

2009-05-15 Thread Noble Paul നോബിള്‍ नोब्ळ्
the replication relies on lucene API to know what are the files associated with an index version. If it returns the lock file also it is replicated too. I guess we must ignore the .lock file if it is returned in the list of files. you can raise an issue and we can fix it. --Noble On Fri, May

Re: Indexing issue in DIH - not all records are Indexed

2009-05-16 Thread Noble Paul നോബിള്‍ नोब्ळ्
check out if you have a uniqueKey in your schema. I there are duplicates they are overwritten On Sat, May 16, 2009 at 1:38 AM, jayakeerthi s mail2keer...@gmail.com wrote: I am using Solr for our application with JBoss Integration. I have managed to configure the indexing from Oralce db for 22

Re: query regarding Indexing xml files -db-data-config.xml

2009-05-17 Thread Noble Paul നോബിള്‍ नोब्ळ्
hi , u may not need that enclosing entity , if you only wish to index one file. baseDir is not required if you give absolute path in the fileName. no need to mention forEach or fields if you set useSolrAddSchema=true On Sat, May 16, 2009 at 1:23 AM, jayakeerthi s mail2keer...@gmail.com wrote:

Re: multicore for 20k users?

2009-05-17 Thread Noble Paul നോബിള്‍ नोब्ळ्
A few questions, 1) what is the frequency of inserts? 2) how many cores need to be up and running at any given point On Mon, May 18, 2009 at 3:23 AM, Chris Cornell srchn...@gmail.com wrote: Trying to create a search solution for about 20k users at a company. Each person's documents are

Re: multicore for 20k users?

2009-05-17 Thread Noble Paul നോബിള്‍ नोब्ळ्
On Mon, May 18, 2009 at 8:18 AM, Otis Gospodnetic otis_gospodne...@yahoo.com wrote: Chris, As far as I know, AOL is using Solr with lots of cores.  What I don't know is how they are handling shutting down of idle cores, which is something you'll need to do if your machine can't handle all

Re: Sole core naming convention for multicores

2009-05-18 Thread Noble Paul നോബിള്‍ नोब्ळ्
solr will not give any exceptions .atleast ,there is no code which checks for that. choose names which are valid characters in url On Mon, May 18, 2009 at 11:08 AM, KK dioxide.softw...@gmail.com wrote: Thank you Otis. One silly question, how would I know that a particular character is

Re: Simplest way of registering new solr core!

2009-05-18 Thread Noble Paul നോബിള്‍ नोब्ळ्
to some good tutorial on adding new cores to the existing ones, configuring multicore indexing etc. I don't find the solr wiki that useful for doing the same. Thanks, KK 2009/5/14 Noble Paul നോബിള്‍ नोब्ळ् noble.p...@corp.aol.com usually it happens fast . and the request returns only

Re: Defining DataDir in Multi-Core

2009-05-19 Thread Noble Paul നോബിള്‍ नोब्ळ्
On Tue, May 19, 2009 at 2:32 PM, KK dioxide.softw...@gmail.com wrote: I could not follow[is this mail a continuation of some old mail, a part of which seems to be missing], but I want to. Is it the case that CREATE is to be supported by solr1.4 i.e currently solr1.3 doesnot support this?

Re: What are the basic requirements for on-the-fly registration/creation of new Core?

2009-05-19 Thread Noble Paul നോബിള്‍ नोब्ळ्
On Tue, May 19, 2009 at 2:08 PM, KK dioxide.softw...@gmail.com wrote: Hi All, Finally I made the multicore thing running by copying the core0 and core1 directory to $solr.home and putting a solr.xml file under the same directory. A bit relieved ! I would like to do on-the-fly registration of

Re: What are the basic requirements for on-the-fly registration/creation of new Core?

2009-05-19 Thread Noble Paul നോബിള്‍ नोब्ळ्
. 2009/5/19 Noble Paul നോബിള്‍ नोब्ळ् noble.p...@corp.aol.com On Tue, May 19, 2009 at 2:08 PM, KK dioxide.softw...@gmail.com wrote: Hi All, Finally I made the multicore thing running by copying the core0 and core1 directory to $solr.home and putting a solr.xml file under the same directory

Re: Splitting the index

2009-05-19 Thread Noble Paul നോബിള്‍ नोब्ळ्
splitting the same index ? I don't think it is possible what is the use case? On Tue, May 19, 2009 at 4:24 PM, RaghavPrabhu raghavprabh...@gmail.com wrote: Hi all, Do you have any idea about to split the index in to different data directory? If so, kindly let me know please.. Thanks

Re: What are the basic requirements for on-the-fly registration/creation of new Core?

2009-05-19 Thread Noble Paul നോബിള്‍ नोब्ळ्
the entry in the stripped one, do confirm me. I'll give it a try. Thanks, KK. 2009/5/19 Noble Paul നോബിള്‍ नोब्ळ् noble.p...@corp.aol.com On Tue, May 19, 2009 at 2:08 PM, KK dioxide.softw...@gmail.com wrote: Hi All, Finally I made the multicore thing running by copying the core0

Re: What are the basic requirements for on-the-fly registration/creation of new Core?

2009-05-19 Thread Noble Paul നോബിള്‍ नोब्ळ्
in $solr.home will remain same. Correct me if I'm wrong. Nightly build are the latest ones, right? with all bug fixes done so far included in that build. Thanks, KK. 2009/5/19 Noble Paul നോബിള്‍ नोब्ळ् noble.p...@corp.aol.com I am not sure whether it will apply on the 1.3 source. you can give

Re: EventListeners of DIM

2009-05-19 Thread Noble Paul നോബിള്‍ नोब्ळ्
On Fri, Apr 17, 2009 at 7:38 PM, Marc Sturlese marc.sturl...@gmail.com wrote: Hey there, I have seen the new feature of EventListeners of DIH in trunk. dataConfig document onImportStart =com.FooStart onImportEnd=comFooEnd /document /dataConfig These events are called at the

Re: Plugin Not Found

2009-05-19 Thread Noble Paul നോബിള്‍ नोब्ळ्
what is the error message you see when you start Solr? On Wed, May 20, 2009 at 4:44 AM, Jeff Newburn jnewb...@zappos.com wrote: I am trying to get a custom plugin to work properly.  When I put the jar into the unpacked webapp directory for solr it works fine but when I put it in the lib

Re: Splitting the index

2009-05-19 Thread Noble Paul നോബിള്‍ नोब्ळ्
...  We are indexing the mail journals (Archive mails) of about 5000 employees in a weekly basis.  We don't want to use multicore option. How can i implement Shards in our mail journal system. Thanks regards Prabhu.K Noble Paul നോബിള്‍  नोब्ळ्-2 wrote: splitting the same index ? I don't

Re: Help needed on DataImportHandler to index xml files

2009-05-20 Thread Noble Paul നോബിള്‍ नोब्ळ्
there is an example given for the same http://wiki.apache.org/solr/DataImportHandler#head-8edbc7e588d97068aa0a61ed2e3e8e61b43debce On Wed, May 20, 2009 at 11:35 AM, Jianbin Dai djian...@yahoo.com wrote: Hi All, I am new here. Thanks for reading my question. I want to use DataImportHandler

Re: Plugin Not Found

2009-05-20 Thread Noble Paul നോബിള്‍ नोब्ळ्
(Native Method)    at java.lang.Class.forName(Class.java:247)    at org .apache .solr.core.SolrResourceLoader.findClass(SolrResourceLoader.java:29 4)    ... 36 more -- Jeff Newburn Software Engineer, Zappos.com jnewb...@zappos.com - 702-943-7562 From: Noble Paul നോബിള്‍  नोब्ळ् noble.p

Re: Regarding Delta-Import Query in DIH

2009-05-21 Thread Noble Paul നോബിള്‍ नोब्ळ्
the last_modified column is just one way. The query has to be intelligent enough to detect the delta . it doesn't matter how you do it On Fri, May 22, 2009 at 1:32 AM, jayakeerthi s mail2keer...@gmail.com wrote: Hi All, I understand from the details provided under

Re: No sanity checks before replicating files?

2009-05-21 Thread Noble Paul നോബിള്‍ नोब्ळ्
Let us see what is the desired behavior. When s1 comes back up online , s2 must download a fresh copy of index from s1 because s1 is the slave and s2 has a newer version of index than s1. Are you suggesting that s2 downloads the index files and then commit fails? The code is written as follows

Re: How to index large set data

2009-05-21 Thread Noble Paul നോബിള്‍ नोब्ळ्
check the status page of DIH and see if it is working properly. and if, yes what is the rate of indexing On Thu, May 21, 2009 at 11:48 AM, Jianbin Dai djian...@yahoo.com wrote: Hi, I have about 45GB xml files to be indexed. I am using DataImportHandler. I started the full import 4 hours

Re: How to index large set data

2009-05-21 Thread Noble Paul നോബിള്‍ नोब्ळ्
thinking it may be restricted by JVM memory setting. But I run the data import command through web, i.e., http://host:port/solr/dataimport?command=full-import, how can I set the memory allocation for JVM? Thanks again! JB --- On Thu, 5/21/09, Noble Paul നോബിള്‍  नोब्ळ् noble.p...@corp.aol.com

Re: solr replication 1.3

2009-05-22 Thread Noble Paul നോബിള്‍ नोब्ळ्
On Fri, May 22, 2009 at 3:12 PM, Ashish P ashish.ping...@gmail.com wrote: I want to add master slave configuration for solr. I have following solr configuration: I am using solr 1.3 on windows. I am also using EmbeddedSolrServer. In this case is it possible to perform master slave

Re: How to index large set data

2009-05-22 Thread Noble Paul നോബിള്‍ नोब्ळ्
  mergeFactor1000/mergeFactor   maxMergeDocs2147483647/maxMergeDocs   maxFieldLength1/maxFieldLength   unlockOnStartupfalse/unlockOnStartup --- On Thu, 5/21/09, Noble Paul നോബിള്‍  नोब्ळ् noble.p...@corp.aol.com wrote: From: Noble Paul നോബിള്‍  नोब्ळ् noble.p...@corp.aol.com Subject

Re: DIH uses == instead of = in SQL

2009-05-22 Thread Noble Paul നോബിള്‍ नोब्ळ्
are you using delta-import w/o a deltaImportQuery ? pls paste the relevant portion of data-config.xml On Sat, May 23, 2009 at 12:13 AM, Eric Pugh ep...@opensourceconnections.com wrote: I am getting this error: Caused by: com.mysql.jdbc.exceptions.jdbc4.MySQLSyntaxErrorException: You have an

Re: How to use DIH to index attributes in xml file

2009-05-22 Thread Noble Paul നോബിള്‍ नोब्ळ्
wild cards are not supported . u must use full xpath On Sat, May 23, 2009 at 4:55 AM, Jianbin Dai djian...@yahoo.com wrote: I have an xml file like this merchantProduct id=814636051 mid=189973                    in_stock type=stock-4 /                    condition type=cond-0 /            

Re: How to index large set data

2009-05-22 Thread Noble Paul നോബിള്‍ नोब्ळ्
wrote: From: Noble Paul നോബിള്‍ नोब्ळ् noble.p...@corp.aol.com Subject: Re: How to index large set data To: solr-user@lucene.apache.org Date: Thursday, May 21, 2009, 10:39 PM what is the total no:of docs created ?  I guess it may not be memory bound. indexing is mostly amn IO bound

Re: Data Import Handler - parentDeltaImport

2009-05-22 Thread Noble Paul നോബിള്‍ नोब्ळ्
how do you know it is not being executed ?. use deltaImportQuery also if you are using Solr1.4 On Sat, May 23, 2009 at 4:29 AM, Michael Korthuis michael.korth...@twintechs.com wrote: I have the data-config.xml detailed below  (Stripped down a bit for simplicity) - When I run the delta import,

Re: How to index large set data

2009-05-25 Thread Noble Paul നോബിള്‍ नोब्ळ्
set the JVM memory when I use DIH through web command full-import? Thanks! JB --- On Fri, 5/22/09, Noble Paul നോബിള്‍  नोब्ळ् noble.p...@corp.aol.com wrote: From: Noble Paul നോബിള്‍  नोब्ळ् noble.p...@corp.aol.com Subject: Re: How to index large set data To: Jianbin Dai djian

Re: Plugin Not Found

2009-05-25 Thread Noble Paul നോബിള്‍ नोब्ळ्
hi jeff , look at these lines in the log May 22, 2009 7:38:25 AM org.apache.solr.core.SolrResourceLoader init INFO: Solr home set to '/home/zetasolr/' May 22, 2009 7:38:25 AM org.apache.solr.core.SolrResourceLoader createClassLoader INFO: Adding 'file:/home/zetasolr/lib/FacetCubeComponent.jar' to

Re: Indexing from DB connection issue

2009-05-27 Thread Noble Paul നോബിള്‍ नोब्ळ्
I guess it is better to copy the ClobTransformer.class alone and use the old Solr1.3 DIH On Tue, May 26, 2009 at 11:50 PM, ahammad ahmed.ham...@gmail.com wrote: I have an update: I played around with it some more and it seems like it's being caused by the ClobTransformer. If I remove

Re: creating new fields at index time - is it possible?

2009-05-27 Thread Noble Paul നോബിള്‍ नोब्ळ्
On Wed, May 27, 2009 at 5:41 PM, Kir4 silv...@gmail.com wrote: Hi guys!! I have started studying Solr, and I was wondering if anyone would be so kind as to help me understand a couple of things. I have XML data that looks like this:    doc        field name=idID-0/field        field

Re: Indexing from DB connection issue

2009-05-27 Thread Noble Paul നോബിള്‍ नोब्ळ्
the ClobTransformer.class file go? Thanks. Noble Paul നോബിള്‍  नोब्ळ्-2 wrote: I guess it is better to copy the ClobTransformer.class  alone and use the old Solr1.3 DIH On Tue, May 26, 2009 at 11:50 PM, ahammad ahmed.ham...@gmail.com wrote: I have an update: I played around with it some more

Re: Indexing from DB connection issue

2009-05-27 Thread Noble Paul നോബിള്‍ नोब्ळ्
no need to rename . On Wed, May 27, 2009 at 6:50 PM, ahammad ahmed.ham...@gmail.com wrote: Would I need to rename it or refer to it somewhere? Or can I keep the existing name (apache-solr-dataimporthandler-1.4-dev.jar)? Cheers Noble Paul നോബിള്‍  नोब्ळ्-2 wrote: take the trunk dih.jar

Re: 1.4 Replication

2009-05-27 Thread Noble Paul നോബിള്‍ नोब्ळ्
On Wed, May 27, 2009 at 6:48 PM, Matthew Gregg matthew.gr...@gmail.com wrote: Does replication in 1.4 support passing credentials/basic auth?  If not what is the best option to protect replication? do you mean protecting the url /replication ? ideally Solr is expected to run in an unprotected

Re: 1.4 Replication

2009-05-27 Thread Noble Paul നോബിള്‍ नोब्ळ्
feel may not need to be protected The other API's methods can have security . say dnappull, diableSnapPoll etc On Wed, May 27, 2009 at 7:47 PM, Matthew Gregg matthew.gr...@gmail.com wrote: On Wed, 2009-05-27 at 19:06 +0530, Noble Paul നോബിള്‍ नोब्ळ् wrote: On Wed, May 27, 2009 at 6:48 PM

Re: Indexing from DB connection issue

2009-05-27 Thread Noble Paul നോബിള്‍ नोब्ळ्
results in requests to datasource/rows fetched etc numbers to increase. In my case the request to datasource stays at 1 regardless. Looks like it tries once and fails, then it terminates the process... Regards Noble Paul നോബിള്‍  नोब्ळ्-2 wrote: no need to rename . On Wed, May 27, 2009 at 6:50

Re: 1.4 Replication

2009-05-27 Thread Noble Paul നോബിള്‍ नोब्ळ्
at 20:11 +0530, Noble Paul നോബിള്‍ नोब्ळ् wrote: The question is what all do you wish to protect. There are 'read' as well as 'write' attributes . The reads are the ones which will not cause any harm other than consuming some cpu cycles. The writes are the ones which can change the state

Re: How contrib for solr memcache query cache

2009-06-03 Thread Noble Paul നോബിള്‍ नोब्ळ्
please raise this as an issue in Jira https://issues.apache.org/jira/browse/SOLR let us see what others think about this On Wed, Jun 3, 2009 at 1:14 PM, chenl...@yahoo.com.cn wrote: Hi all: I want to contrib memcache implement solr cache (only test query result cache) patch for solr 1.3

Re: Which caches should use the solr.FastLRUCache

2009-06-04 Thread Noble Paul നോബിള്‍ नोब्ळ्
FastLRUCache is designed to be lock free so it is well suited for caches which are hit several times in a request. I guess there is no harm in using FastLRUCache across all the caches. On Thu, Jun 4, 2009 at 3:22 AM, Robert Purdy rdpu...@gmail.com wrote: Hey there, Anyone got any advice on

Re: Token filter on multivalue field

2009-06-04 Thread Noble Paul നോബിള്‍ नोब्ळ्
isn't better to use an UpdateProcessor for this? On Thu, Jun 4, 2009 at 1:52 AM, Otis Gospodnetic otis_gospodne...@yahoo.com wrote: Hello, It's ugly, but the first thing that came to mind was ThreadLocal.  Otis -- Sematext -- http://sematext.com/ -- Lucene - Solr - Nutch -

Re: Which caches should use the solr.FastLRUCache

2009-06-04 Thread Noble Paul നോബിള്‍ नोब्ळ्
and they are likely to take time. if cleanupThread=true, then no eviction should take more time Thanks Robert. Yonik Seeley-2 wrote: 2009/6/4 Noble Paul നോബിള്‍  नोब्ळ् noble.p...@corp.aol.com: FastLRUCache is designed to be lock free so it is well suited for caches which are hit several times

Re: Index Comma Separated numbers

2009-06-04 Thread Noble Paul നോബിള്‍ नोब्ळ्
did you try the NumberFormatTransformer ? On Fri, Jun 5, 2009 at 12:09 AM, Jianbin Dai djian...@yahoo.com wrote: Hi, One of the fields to be indexed is price which is comma separated, e.g., 12,034.00.  How can I indexed it as a number? I am using DIH to pull the data. Thanks. --

Re: Customizing results

2009-06-04 Thread Noble Paul നോബിള്‍ नोब्ळ्
How are you accessing Solr? SolrJ? does this help? https://issues.apache.org/jira/browse/SOLR-1129 On Fri, Jun 5, 2009 at 3:00 AM, Manepalli, Kalyan kalyan.manepa...@orbitz.com wrote: Otis,        With that solution, the client has to accept all type location fields (location_de_de,

Re: Customizing results

2009-06-04 Thread Noble Paul നോബിള്‍ नोब्ळ्
Hi Otis, is it a good idea to provide as aliasing feature for Solr similar to the SQL 'as' in SQL we can do select location_da_dk as location Solr may have fl.alias=location_da_dk:location --Noble On Fri, Jun 5, 2009 at 3:10 AM, Otis Gospodnetic otis_gospodne...@yahoo.com wrote: Aha,

Re: Customizing results

2009-06-04 Thread Noble Paul നോബിള്‍ नोब्ळ्
/6/5 Noble Paul നോബിള്‍ नोब्ळ् noble.p...@corp.aol.com Hi Otis, is it a good idea to provide as aliasing feature for Solr similar to the  SQL 'as' in SQL we can do select location_da_dk as location Solr may have fl.alias=location_da_dk:location --Noble On Fri, Jun 5, 2009 at 3:10

Re: Customizing results

2009-06-05 Thread Noble Paul നോബിള്‍ नोब्ळ्
I have opened an issue https://issues.apache.org/jira/browse/SOLR-1205 On Fri, Jun 5, 2009 at 12:23 PM, Fergus McMenemie fer...@twig.me.uk wrote: Generally a good idea, but be prepared to entertain requests that should also ask you to be able to perform the query using those aliases. I mean when

Re: Customizing results

2009-06-06 Thread Noble Paul നോബിള്‍ नोब्ळ्
On Sat, Jun 6, 2009 at 2:35 AM, Manepalli, Kalyankalyan.manepa...@orbitz.com wrote: Otis,        I like the idea of using the as field parameter. As per your earlier comments, I implemented this by modifying the JsonResponseWriter by substituting the actual fieldname by the alias passed as

Re: Does Solr know what host and port it is running on?

2009-06-06 Thread Noble Paul നോബിള്‍ नोब्ळ्
can it be added into the solrconfig.xml or solr.xml ? On Sat, Jun 6, 2009 at 10:55 AM, Shalin Shekhar Mangarshalinman...@gmail.com wrote: On Sat, Jun 6, 2009 at 9:58 AM, Grant Ingersoll gsing...@apache.org wrote: Does Solr know what host and port it is running on and, if so, how do I get

Re: Use the same SQL Field in Dataimporthandler twice?

2009-06-07 Thread Noble Paul നോബിള്‍ नोब्ळ्
what is ${db.tableA.id} ? I think there is something extra in that can you paste the whole data-config.xml? can you paste On Sun, Jun 7, 2009 at 1:09 AM, gateway0reiterwo...@yahoo.de wrote: Hi, I tried to do the following: field column=id name=db_id/ entity name=comment dataSource=db

Re: Does Solr know what host and port it is running on?

2009-06-08 Thread Noble Paul നോബിള്‍ नोब्ळ्
Paul നോബിള്‍ नोब्ळ् a écrit : can it be added into the solrconfig.xml or solr.xml ? My experience is that it is simple as that: you have to configure something which, in ActiveMath, we have called the advertizedURL. Making it non-configurable really often creates issues and requires

Re: Use the same SQL Field in Dataimporthandler twice?

2009-06-08 Thread Noble Paul നോബിള്‍ नोब्ळ्
='${item.ID}' It´s strange I know but when I use something other than id as the foreign key for the query everything works! like: ${db.tableA.anotherid} Noble Paul നോബിള്‍  नोब्ळ्-2 wrote: what is ${db.tableA.id} ? I think there is something extra in that can you paste the whole

Re: Use the same SQL Field in Dataimporthandler twice?

2009-06-09 Thread Noble Paul നോബിള്‍ नोब्ळ्
='${dbA.project.comment}'        field column=cm_text name=comment/ /entity so that I don´t use my primary key id twice but the problem is I need to use id for the comment part too. kind regards, Sebastian Noble Paul നോബിള്‍  नोब्ळ्-2 wrote: On Tue, Jun 9, 2009 at 12:41 AM, gateway0reiterwo

Re: User Credentials for Solr Data Dir

2009-06-09 Thread Noble Paul നോബിള്‍ नोब्ळ्
nope On Tue, Jun 9, 2009 at 4:59 AM, vaibhav joshicallvaib...@hotmail.com wrote: Hi, I am currently using solr 1.3 and runnign the sole as NT service. I need to store data indexes on a Remote Filer machine. the Filer needs user credentials inorder to access the same.. Is there a solr

Re: Use the same SQL Field in Dataimporthandler twice?

2009-06-09 Thread Noble Paul നോബിള്‍ नोब्ळ्
returns an empty result. Still can´t figure it out why I cant use the (sql)tables primary key - once to save it in the index directly and - twice to query against my comment table Noble Paul നോബിള്‍  नोब्ळ्-2 wrote: can you avoid . dots in the entity name and try it out. dots are special

Re: Use the same SQL Field in Dataimporthandler twice?

2009-06-09 Thread Noble Paul നോബിള്‍ नोब्ळ्
/       /entity returns an empty result. Still can´t figure it out why I cant use the (sql)tables primary key - once to save it in the index directly and - twice to query against my comment table Noble Paul നോബിള്‍  नोब्ळ्-2 wrote: can you avoid . dots in the entity name and try it out. dots

Re: Refresh synonyms.txt file via replication

2009-06-09 Thread Noble Paul നോബിള്‍ नोब्ळ्
Hi , Unfortunately , the problem is that an 'empty' commit does not really do anything. I mean, it is not a real commit.Solr takes a look to find if the index is changed and if not, the call is ignored When we designed it, the choice was to look for all the changed conf files also to decide if a

Re: Servlet filter for Solr

2009-06-09 Thread Noble Paul നോബിള്‍ नोब्ळ्
if you wish to intercept read calls ,a filter is the only way. On Wed, Jun 10, 2009 at 6:35 AM, vivek sarvivex...@gmail.com wrote: Hi,  I've to intercept every request to solr (search and update) and log some performance numbers. In order to do so I tried a Servlet filter and added this to

Re: Problem using db-data-config.xml

2009-06-09 Thread Noble Paul നോബിള്‍ नोब्ळ्
are you sure prod_cd and reg_id\ are emitted by respective entities in the same name if not you may need to alias those fields (using as) keep in mind ,the field namkes are case sensitive. Just to know what are the values emitted use debug mode or use logTransformer On Wed, Jun 10, 2009 at 4:55

Re: change data dir location

2009-06-11 Thread Noble Paul നോബിള്‍ नोब्ळ्
set the dataDir value in solrconfig.xml to what you like On Fri, Jun 12, 2009 at 10:38 AM, Ashish Pashish.ping...@gmail.com wrote: I want to change data dir location and not use solrConfig.xml. So on windows I removed dataDir xonfiguration from solrConfig.xml and tried setting 'solr.data.dir'

Re: Getting details from delete

2009-06-11 Thread Noble Paul നോബിള്‍ नोब्ळ्
I guess not. u will have to make a query to get the no:of docs matching the query probably this can be an enhancement to Solr On Thu, Jun 11, 2009 at 8:16 PM, Jacob Elderjel...@locamoda.com wrote: Hello, Is there any way to get the number of deleted records from a delete request? I'm

Re: change data dir location

2009-06-11 Thread Noble Paul നോബിള്‍ नोब्ळ्
in solrConfig.xml. I want solr to take from my config file or from system property. Thanks, Ashish Noble Paul നോബിള്‍  नोब्ळ्-2 wrote: set the dataDir value in solrconfig.xml to what you like On Fri, Jun 12, 2009 at 10:38 AM, Ashish Pashish.ping...@gmail.com wrote: I want to change data dir location

Re: DataImportHandler backwards compatibility

2009-06-12 Thread Noble Paul നോബിള്‍ नोब्ळ्
you can just drop in the new JdbcDataSource.java into the 1.3 release (and build it) and it should be just fine. On Fri, Jun 12, 2009 at 5:55 PM, Kevin Lloydkll...@lulu.com wrote: Thanks for the info. Just FYI, I've decided to retrofit the 1.3 DataImportHandler with the JDBC driver params

Re: Custom Request handler Error:

2009-06-12 Thread Noble Paul നോബിള്‍ नोब्ळ्
is there any error on the console? On Fri, Jun 12, 2009 at 4:26 PM, Noornoo...@opentechindia.com wrote: hi,  i am new to apache solr. I need to create a custom request handler class. So i create a new one and changed the solr-config.xml file as,  requestHandler name=/select

Re: Replication problems on 1.4

2009-06-12 Thread Noble Paul നോബിള്‍ नोब्ळ्
On Sat, Jun 13, 2009 at 2:44 AM, Phil Hagelbergp...@hagelb.org wrote: Shalin Shekhar Mangar shalinman...@gmail.com writes: You are right. In Solr/Lucene, a commit exposes updates to searchers. So you need to call commit on the master for the slave to pick up the changes. Replicating changes

Re: Custom Request handler Error:

2009-06-13 Thread Noble Paul നോബിള്‍ नोब्ळ्
register your handler in some other name and fire a request to that On Fri, Jun 12, 2009 at 8:07 PM, noornoo...@opentechindia.com wrote: I solved this NullPointerException, by the following changes. In java code: public void handleRequestBody(SolrQueryRequest request, SolrQueryResponse

Re: Custom Request handler Error:

2009-06-13 Thread Noble Paul നോബിള്‍ नोब्ळ्
register is as follows requestHandler name=/custom class=org.apache.solr.my.MyCustomHandler the request must be made to the uri /custom only then the requests would come to your handler On Sat, Jun 13, 2009 at 5:49 PM, noornoo...@opentechindia.com wrote: Yes, i changed requestHandler name as,

Re: LRUCache causing locked threads

2009-06-15 Thread Noble Paul നോബിള്‍ नोब्ळ्
the FastLRUCache can be used in 1.3 if it can be compiled and added to the solr.home/lib On Tue, Jun 16, 2009 at 12:40 AM, Yonik Seeleyyo...@lucidimagination.com wrote: On Mon, Jun 15, 2009 at 2:58 PM, CameronLcameron.develo...@gmail.com wrote: Unfortunately upgrading to 1.4 isn't an option for

Re: Custom Request handler Error:

2009-06-16 Thread Noble Paul നോബിള്‍ नोब्ळ्
please take a look at one of the updatehandlers which are already there XmlUpdateRequestHandler CSVRequestHandler BinaryUpdateRequestHandler On Tue, Jun 16, 2009 at 1:34 PM, noornoo...@opentechindia.com wrote: how to create a custom update handler, to update my fields... ? Also, how to make the

Re: pk vs. uniqueKey with DIH delta-import

2009-06-18 Thread Noble Paul നോബിള്‍ नोब्ळ्
apparently the row return a null 'board_id' your stacktrace sugggests this. even if it is fixed I guess it may not work because your are storing the id as board-${test.board_id} and unless your query returns something like board-some-id it may not work for you. Anyway i shall put in a fix ion

Re: pk vs. uniqueKey with DIH delta-import

2009-06-18 Thread Noble Paul നോബിള്‍ नोब्ळ्
a have raised an issue and fixed it https://issues.apache.org/jira/browse/SOLR-1228 2009/6/18 Noble Paul നോബിള്‍ नोब्ळ् noble.p...@corp.aol.com: apparently the row return a null 'board_id' your stacktrace sugggests this. even if it is fixed I guess it may not work because your are storing

Re: PlainTextEntitiyProcessor not putting any text into a field in index

2009-06-18 Thread Noble Paul നോബിള്‍ नोब्ळ्
can you just log it and see what is contained in the plainText field. (using LogTransformer) On Thu, Jun 18, 2009 at 8:54 PM, Jay Hilljayallenh...@gmail.com wrote: I'm having some trouble getting the PlainTextEntityProcessor to populate a field in an index. I'm using the TemplateTransformer to

Re: Possible bug with commands to manage cores

2009-06-19 Thread Noble Paul നോബിള്‍ नोब्ळ्
this should have happened because of the fix for SOLR-1121 On Fri, Jun 19, 2009 at 12:41 PM, Marc Sturlesemarc.sturl...@gmail.com wrote: I have noticed that the response of the commands to deal with the cores administration can't show the result using php or phps reponseWriter. Despite

Re: Possible bug with commands to manage cores

2009-06-19 Thread Noble Paul നോബിള്‍ नोब्ळ्
in there? Noble Paul നോബിള്‍  नोब्ळ्-2 wrote: this should have happened because of the fix for SOLR-1121 On Fri, Jun 19, 2009 at 12:41 PM, Marc Sturlesemarc.sturl...@gmail.com wrote: I have noticed that the response of the commands to deal with the cores administration can't show the result using php

Re: Possible bug with commands to manage cores

2009-06-19 Thread Noble Paul നോബിള്‍ नोब्ळ्
could I fix it myself adding the php RW in there? nope. the core admin does not have a place where you can add a writer 2009/6/19 Noble Paul നോബിള്‍ नोब्ळ् noble.p...@corp.aol.com: hi mark, yes . But i shall fix it anyway On Fri, Jun 19, 2009 at 1:04 PM, Marc Sturlesemarc.sturl...@gmail.com

Re: Possible bug with commands to manage cores

2009-06-19 Thread Noble Paul നോബിള്‍ नोब्ळ्
fixed 2009/6/19 Noble Paul നോബിള്‍ नोब्ळ् noble.p...@corp.aol.com: could I fix it myself adding the php RW in there? nope. the core admin does not have a place where you can add a writer 2009/6/19 Noble Paul നോബിള്‍  नोब्ळ् noble.p...@corp.aol.com: hi mark, yes . But i shall fix it anyway

Re: Use DIH with large xml file

2009-06-21 Thread Noble Paul നോബിള്‍ नोब्ळ्
DIH can read item by item. did you use stream=true in the XPathEntityProcessor ? On Sun, Jun 21, 2009 at 9:20 AM, Jianbin Dai djian...@yahoo.com wrote: Can DIH read item by item instead of the whole file before indexing? my biggest file size is 6GB, larger than the JVM max ram value. ---

Re: DataImportHandler configuration - externalizing environment-specific settings?

2009-06-21 Thread Noble Paul നോബിള്‍ नोब्ळ्
There is no straight way but there is a way http://wiki.apache.org/solr/DataImportHandlerFaq#head-c4003ab5af86a200b35cf6846a58913839a5a096 On Mon, Jun 22, 2009 at 6:23 AM, Erik Hatcher e...@ehatchersolutions.com wrote: In an environment where there are developer machines, test, staging, and

Re: SolrCore, reload, synonyms not reloaded

2009-06-23 Thread Noble Paul നോബിള്‍ नोब्ळ्
a singlecore single system has no admin commands.But it is possible to setup a multicore with only one core and you will be able to reload the core On Tue, Jun 23, 2009 at 5:09 PM, ranjitr contact_ranjit_...@yahoo.com wrote: Hello, I was having a similar problem during indexing with my

Re: Function query using Map

2009-06-23 Thread Noble Paul നോബിള്‍ नोब्ळ्
The five parameter feature is added in solr1.4 . which version of solr are you using? On Wed, Jun 24, 2009 at 12:57 AM, David Baker dav...@mate1inc.com wrote: Hi, I'm trying to use the map function with a function query.  I want to map a particular value to 1 and all other values to 0.  We

Re: Initialize SOLR DataImportHandler

2009-06-23 Thread Noble Paul നോബിള്‍ नोब्ळ्
yes , you will need to fire a command On Tue, Jun 23, 2009 at 9:51 PM, ice icech...@gmail.com wrote: We use the DataImportHandler for indexes from a RDBMS. Is there any way to make sure that the import is run when the SOLR webapp/core starts up? Do we need to send a command to SOLR to make

Re: building custom RequestHandlers

2009-06-23 Thread Noble Paul നോബിള്‍ नोब्ळ्
this part of the doc explains what you shold do to write a custom requesthandler http://wiki.apache.org/solr/SolrPlugins#head-7c0d03515c496017f6c0116ebb096e34a872cb61 On Wed, Jun 24, 2009 at 3:35 AM, Julian Davchevj...@drun.net wrote: Is it just me or this is thread steal? nothing todo with

Re: Initialize SOLR DataImportHandler

2009-06-24 Thread Noble Paul നോബിള്‍ नोब्ळ्
-import/str /lst /arr /listener 2009/6/24 Noble Paul നോബിള്‍ नोब्ळ् noble.p...@corp.aol.com: yes , you will need to fire a command On Tue, Jun 23, 2009 at 9:51 PM, ice icech...@gmail.com wrote: We use the DataImportHandler for indexes from a RDBMS. Is there any way to make

Re: building custom RequestHandlers

2009-06-24 Thread Noble Paul നോബിള്‍ नोब्ळ्
might be java but they are solr related as well. I would look at one of the existing requesthandlers in the codebase and copy the code and edit whatever is required. once you are done w/ the code you can build it to a .jar file and drop it in the solr_home/lib directoryt Noble Paul നോബിള്‍

Re: DataImportHandler Full Import completed successfully after SQLException

2009-06-24 Thread Noble Paul നോബിള്‍ नोब्ळ्
OK , this should be a bug with JdbcDataSource. look at the line org.apache.solr.handler.dataimport.JdbcDataSource$ResultSetIterator.hasnext(JdbcDataSource.java:326) it is eating up the exception and logs error and goes back. I shall raise an issue thanks On Wed, Jun 24, 2009 at 11:12 PM,

Fwd: [Solr Wiki] Update of SolrReplication by NoblePaul

2009-06-25 Thread Noble Paul നോബിള്‍ नोब्ळ्
some of the replication commands have been changed in the trunk https://issues.apache.org/jira/browse/SOLR-1216 So, please keep it in mind if you are alreday using it and you are upgrading to a new build. Refer the wiki for the latest commands -- Forwarded message -- From:

<    3   4   5   6   7   8   9   10   >