Re: Searching for negative numbers very slow

2011-02-16 Thread Dennis Gearon
Is it my imagination or has this exact email been on the list already? Dennis Gearon Signature Warning It is always a good idea to learn from your own mistakes. It is usually a better idea to learn from others’ mistakes, so you do not have to make them yourself. from 'http:/

Re: Is facet could be used for Analytics

2011-02-16 Thread Grijesh
I thing facet search is good for your requirement. Also what about Result Grouping feature of Solr ? - Thanx: Grijesh http://lucidimagination.com -- View this message in context: http://lucene.472066.n3.nabble.com/Is-facet-could-be-used-for-Analytics-tp2515938p2515959.html Sent from the Sol

Is facet could be used for Analytics

2011-02-16 Thread Ganesh
Hello all, We need to build a Analytics kind of application. Intially we plan to aggregate the result and add it to database or use any ETL tool. I have an idea to use Facet search. I just want to know others opinion on this. We require results in the below fashion. Top 3 results in each column

Re: How to use XML parser in DIH for a database?

2011-02-16 Thread Grijesh
Use a fielddatasource for reading field from database and then use xpathentityprocessor .Field datasource will give you the stream that is needed by xpathentity processor.Bellow is the example dih configuration code.

Validate Query Syntax of Solr Request Before Sending

2011-02-16 Thread csj
Hi, I wonder if it is possible to let the user build up a Solr Query and have it validated by some java API before sending it to Solr. Is there a parser that could help with that? I would like to help the user building a valid query as she types by showing messages like "The query is not valid"

Re: SolrIndexWriter was not closed prior to finalize(), indicates a bug -- POSSIBLE RESOURCE LEAK!!!

2011-02-16 Thread Ravi Kiran
Thanks for the response Hoss. Sorry for replying late was on a business trip. The server was indexing as well as searching at the same time and it was configured for a Native file lock, could that be the issue ? I got another server so moved it to a Master & slave configuration with file lock being

Re: Http Connection is hanging while deleteByQuery

2011-02-16 Thread Ravi Kiran
Thanks for updating your solution On Tue, Feb 8, 2011 at 8:20 AM, shan2812 wrote: > > Hi, > > At last the migration to Solr-1.4.1 does solve this issue :-).. > > Cheers > -- > View this message in context: > http://lucene.472066.n3.nabble.com/Http-Connection-is-hanging-while-deleteByQuery-tp2367

Re: score from two cores

2011-02-16 Thread linkedLetter
A common problem in metasearch engines. Its not intractable. You just have to surface the right statistics into a 'fusion' scorer. - NOT always nice. When are we getting better releases? -- View this message in context: http://lucene.472066.n3.nabble.com/score-from-two-cores-tp2012444p25156

Re: How to use XML parser in DIH for a database?

2011-02-16 Thread Bill Bell
Does anyone have an example of using this with SQL Server varchar or XML field? ?? On 2/16/11 2:17 AM, "Stefan Matheis" wrote: >What about using >http://wiki.apache.org/solr/DataImportHandler#XPathEntityProcessor ?

Re: Searching for negative numbers very slow

2011-02-16 Thread Chris Hostetter
: This was my first thought but -1 is relatively common but we have other : numbers just as common. i assume that when you say that you mean "...we have other numbers (that are not negative) just as common, (but searching for them is much faster)" ? I don't have any insight into why your neg

Re: Migration from Solr 1.2 to Solr 1.4

2011-02-16 Thread Chris Hostetter
: > if you don't have any custom components, you can probably just use : > your entire solr home dir as is -- just change the solr.war. (you can't : > just copy the data dir though, you need to use the same configs) : > : > test it out, and note the "Upgrading" notes in the CHANGES.txt for the :

Re: Solr multi cores or not

2011-02-16 Thread Jan Høydahl
I frequently use multiple cores for these reasons: * Completely different applications, such as web search and directory search or if their update latency / query /caching requirements are very different I can then also nuke one without affecting the other Also, you get nice separation for m

Re: solr.HTMLStripCharFilterFactory not working

2011-02-16 Thread Tanner Postert
I updated my data importer. I used to have: which wasn't working. But I changed that to and it is working fine. On Tue, Feb 15, 2011 at 5:50 PM, Koji Sekiguchi wrote: > (11/02/16 8:03), Tanner Postert wrote: > >> I am using the data import handler and using the HTMLStripTransformer >> d

Re: Solr multi cores or not

2011-02-16 Thread Markus Jelsma
You can also easily abuse shards to query multiple cores that share parts of the schema. This way you have isolation with the ability to query them all. The same can, of course, also be achieved using a sinlge index with a simple field identying the application and using fq on that one. > Yes,

Re: Solr multi cores or not

2011-02-16 Thread Markus Jelsma
Hi, That depends (as usual) on your scenario. Let me ask some questions: 1. what is the sum of documents for your applications? 2. what is the expected load in queries/minute 3. what is the update frequency in documents/minute and how many documents per commit? 4. how many different applications

Re: Solr multi cores or not

2011-02-16 Thread Jonathan Rochkind
Yes, you're right, from now on when I say that, I'll say "except shards". It is true. My understanding is that shards functionality's intended use case is for when your index is so large that you want to split it up for performance. I think it works pretty well for that, with some limitations

Re: last item in results page is always the same

2011-02-16 Thread Yonik Seeley
On Wed, Feb 16, 2011 at 5:08 PM, Paul wrote: > Is this a known solr bug or is there something subtle going on? Yes, I think it's the following bug, fixed in 1.4.1: * SOLR-1777: fieldTypes with sortMissingLast=true or sortMissingFirst=true can result in incorrectly sorted results. -Yonik http:

Re: SolrCloud - Example C not working

2011-02-16 Thread Jan Høydahl
Had a look at this and opened an issue: https://issues.apache.org/jira/browse/SOLR-2369 Looks like the quick fix is to switch to log4j instead of jdk-logging (which is not a bad idea in itself:-) -- Jan Høydahl, search solution architect Cominvent AS - www.cominvent.com On 16. feb. 2011, at 17

last item in results page is always the same

2011-02-16 Thread Paul
(I'm using solr 1.4) I'm doing a test of my index, so I'm reading out every document in batches of 500. The query is (I added newlines here to make it readable): http://localhost:8983/solr/archive_ECCO/select/ ?q=archive%3AECCO &fl=uri &version=2.2 &start=0 &rows=500 &indent=on &sort=uri%20asc I

RE: Solr multi cores or not

2011-02-16 Thread Bob Sandiford
Hmmm. Maybe I'm not understanding what you're getting at, Jonathan, when you say 'There is no good way in Solr to run a query across multiple Solr indexes'. What about the 'shards' parameter? That allows searching across multiple cores in the same instance, or shards across multiple instances.

Re: optimize and mergeFactor

2011-02-16 Thread Markus Jelsma
> Thanks for the answers, more questions below. > > On 2/16/2011 3:37 PM, Markus Jelsma wrote: > > 200.000 stored fields? I asume that number includes your number of > > documents? Sounds crazy =) > > Nope, I wasn't clear. I have less than a dozen stored field, but the > value of a stored field

minimum Solr slave replication config

2011-02-16 Thread Jonathan Rochkind
Solr 1.4.1. So, from the documentation at http://wiki.apache.org/solr/SolrReplication I was wondering if I could get away without having any actual configuration in my slave at all. The replication handler is turned on, but if I'm going to manually trigger replication pulls while supplying th

Re: Solr multi cores or not

2011-02-16 Thread Jonathan Rochkind
Solr multi-core essentially just lets you run multiple seperate distinct Solr indexes in the same running Solr instance. It does NOT let you run queries accross multiple cores at once. The cores are just like completely seperate Solr indexes, they are just conveniently running in the same Solr

Re: optimize and mergeFactor

2011-02-16 Thread Jonathan Rochkind
Thanks for the answers, more questions below. On 2/16/2011 3:37 PM, Markus Jelsma wrote: 200.000 stored fields? I asume that number includes your number of documents? Sounds crazy =) Nope, I wasn't clear. I have less than a dozen stored field, but the value of a stored field can sometimes b

Help with parsing configuration using SolrParams/NamedList

2011-02-16 Thread Jay Luker
Hi, I'm trying to use a CustomSimilarityFactory and pass in per-field options from the schema.xml, like so: 500 1 0.5 500 2 0.5 My problem is I am utterly failing to figure out how to parse this nested option structu

Re: Shutdown hook executing for a long time

2011-02-16 Thread Markus Jelsma
Closing a core will shutdown almost everything related to the workings of a core. Update and search handlers, possible warming searchers etc. Check the implementation of the close method: http://svn.apache.org/viewvc/lucene/dev/branches/branch_3x/solr/src/java/org/apache/solr/core/SolrCore.java?v

Solr multi cores or not

2011-02-16 Thread Thumuluri, Sai
Hi, I have a need to index multiple applications using Solr, I also have the need to share indexes or run a search query across these application indexes. Is solr multi-core - the way to go? My server config is 2virtual CPUs @ 1.8 GHz and has about 32GB of memory. What is the recommendation? Th

Re: optimize and mergeFactor

2011-02-16 Thread Markus Jelsma
> In my own Solr 1.4, I am pretty sure that running an index optimize does > give me significant better performance. Perhaps because I use some > largeish (not huge, maybe as large as 200k) stored fields. 200.000 stored fields? I asume that number includes your number of documents? Sounds crazy =

optimize and mergeFactor

2011-02-16 Thread Jonathan Rochkind
In my own Solr 1.4, I am pretty sure that running an index optimize does give me significant better performance. Perhaps because I use some largeish (not huge, maybe as large as 200k) stored fields. So I'm interested in always keeping my index optimized. Am I right that if I set mergeFactor to

Shutdown hook executing for a long time

2011-02-16 Thread Jon Drukman
2011-02-16 11:32:45.489::INFO: Shutdown hook executing 2011-02-16 11:35:36.002::INFO: Shutdown hook complete The shutdown time seems to be proportional to the amount of time that Solr has been running. If I immediately restart and shut down again, it takes a fraction of a second. What causes i

Re: Monitor the QTime.

2011-02-16 Thread Otis Gospodnetic
Hi, I think the tool was called jmxterm or termjmx. As for REST over JMX - I think I've seen that on Google code. If you are interested in this sort of stuff, check my bookmarks on pinboard.in, it's all there and nicely tagged. Otis Sematext :: http://sematext.com/ :: Solr - Lucene - Nut

Re: CJKAnalyzer and Synonyms

2011-02-16 Thread alexw
Thanks Koji for the quick response. After making the changes you recommended, it works great now. -- View this message in context: http://lucene.472066.n3.nabble.com/CJKAnalyzer-and-Synonyms-tp2510104p2512097.html Sent from the Solr - User mailing list archive at Nabble.com.

Re: slave out of sync

2011-02-16 Thread Otis Gospodnetic
Hi Tri, You could look at the stats page for each slave and compare the number of docs in them. The one(s) that are off from the rest/majority are out of sync. Otis Sematext :: http://sematext.com/ :: Solr - Lucene - Nutch Lucene ecosystem search :: http://search-lucene.com/ - Origi

Re: Deploying Solr CORES on OVH Cloud

2011-02-16 Thread Otis Gospodnetic
Hi, Jetty on Ubuntu has been working well for us and a bunch of our customers. Otis Sematext :: http://sematext.com/ :: Solr - Lucene - Nutch Lucene ecosystem search :: http://search-lucene.com/ - Original Message > From: Rosa (Anuncios) > To: solr-user@lucene.apache.org > Sent:

RE: Errors when implementing VelocityResponseWriter

2011-02-16 Thread McGibbney, Lewis John
Managed to get this working. Changed my solrconfig for the one provided in velocity dir, repackaged the war file and redeployed on tomcat. Although this seems like a ridiculously obvious thing to do, I somehow overlooked the repackaging aspect, this was where the problem was. Thanks for the hel

taxonomy faceting

2011-02-16 Thread Ezequiel Gioia
Hello, i saw taxonomy faceting on this slides: http://www.lucidimagination.com/solutions/webcasts/faceting and i have a question: I have many taxonomies and each document can apply to some of them. I dont know how many taxonomies they are, so i cant define a field in the schema for each taxonomy (

Re: SolrCloud - Example C not working

2011-02-16 Thread Yonik Seeley
It looks like a log4j issue: java.lang.NoClassDefFoundError: org/apache/log4j/jmx/HierarchyDynamicMBean at org.apache.zookeeper.jmx.ManagedUtil.registerLog4jMBeans(ManagedUtil.java:51) at org.apache.zookeeper.server.quorum.QuorumPeerMain.runFromConfig(QuorumPeerMain.java:114)

Re: SolrCloud - Example C not working

2011-02-16 Thread Stijn Vanhoorelbeke
2011/2/16 Yonik Seeley > On Wed, Feb 16, 2011 at 3:57 AM, Thorsten Scherler > wrote: > > On Tue, 2011-02-15 at 09:59 -0500, Yonik Seeley wrote: > >> On Mon, Feb 14, 2011 at 8:08 AM, Thorsten Scherler > wrote: > >> > Hi all, > >> > > >> > I followed http://wiki.apache.org/solr/SolrCloud and ever

Re: How to use XML parser in DIH for a database?

2011-02-16 Thread Bill Bell
It only works on FileDataSource right ? Bill Bell Sent from mobile On Feb 16, 2011, at 2:17 AM, Stefan Matheis wrote: > What about using > http://wiki.apache.org/solr/DataImportHandler#XPathEntityProcessor ? > > On Wed, Feb 16, 2011 at 10:08 AM, Bill Bell wrote: >> I am using DIH. >> >> I

Re: Term Vector Query on Single Document

2011-02-16 Thread Markus Jelsma
On Wednesday 16 February 2011 16:49:51 Tod wrote: > I have a couple of semi-related questions regarding the use of the Term > Vector Component: > > > - Using curl is there a way to query a specific document (maybe using > Tika when required?) to get a distribution of the terms it contains? No Ti

Re: Are there any restrictions on what kind of how many fields you can use in Pivot Query? I get ClassCastException when I use some of my string fields, and don't when I use some other sting fields

2011-02-16 Thread Tanguy Moal
Hello Ravish, Erick, I'm facing the same issue with solr-trunk (as of r1071282) - Field configuration : positionIncrementGap="100"> - Schema configuration : In my test index, I have documents with sparse values : Some documents may or may not have a value for f1, f2 and/or f3 The

Term Vector Query on Single Document

2011-02-16 Thread Tod
I have a couple of semi-related questions regarding the use of the Term Vector Component: - Using curl is there a way to query a specific document (maybe using Tika when required?) to get a distribution of the terms it contains? - When I set the termVector on a field do I need to reindex? I

Re: CJKAnalyzer and Synonyms

2011-02-16 Thread Koji Sekiguchi
(11/02/17 0:17), alexw wrote: Hi everyone, I am trying to get Synonyms working with CJKAnalyzer. Search works fine but synonyms do not work as expected. Here is my field definition in the schema file: When testing on the analysis page, the synonym filter does not

Re: Triggering optimise based on time interval

2011-02-16 Thread Jan Høydahl
I think you can get far by just optimizing how often you do commits (as seldom as possible), as well as MergeFactor, to get a good balance between indexing and query efficiency. It may be that you're looking for fewer segments on average - not always one fully optimized segment. If you still fe

CJKAnalyzer and Synonyms

2011-02-16 Thread alexw
Hi everyone, I am trying to get Synonyms working with CJKAnalyzer. Search works fine but synonyms do not work as expected. Here is my field definition in the schema file: When testing on the analysis page, the synonym filter does not kick in at all. My que

Re: strange search-behavior over dynamic field

2011-02-16 Thread stockii
the documents havent the same uniquekey, only reason is the same. i cannot show the exactly search request, because of privacy policy... the query is like that: reason_1: firstname lastname, reason_2: 1234, 02.02.2011 --> in field reason: firstname lastname, 1234, 02.02.2011 the search reques

Re: Triggering optimise based on time interval

2011-02-16 Thread Stefan Matheis
hm okay, reasonable :) never used it, but maybe a pointer into the right direction? http://wiki.apache.org/solr/DataImportHandler#Scheduling On Wed, Feb 16, 2011 at 2:27 PM, Renaud Delbru wrote: > Mainly technical administration effort. > > We are trying to have a solr packaging that > - minimis

Re: Dismax problem

2011-02-16 Thread Yonik Seeley
It looks like you are trying to use a function query on a multi-valued field? -Yonik http://lucidimagination.com On Tue, Feb 15, 2011 at 8:34 AM, Ezequiel Calderara wrote: > Hi, im having a problem while trying to do a dismax search. > For example i have the standard query url like this: > It

Re: Triggering optimise based on time interval

2011-02-16 Thread Renaud Delbru
Mainly technical administration effort. We are trying to have a solr packaging that - minimises the effort to deploy the system on a machine. - reduces errors when deploying - centralised the logic of the Solr system Ideally, we would like to have a central place (e.g., solrconfig) where the lo

Triggering optimise based on time interval

2011-02-16 Thread Renaud Delbru
Hi, We would like to trigger an optimise every x hours. From what I can see, there is nothing in Solr (3.1-SNAPSHOT) that enables to do such a thing. We have a master-slave configuration. The masters are tuned for fast indexing (large merge factor). However, for the moment, the master index is

Re: strange search-behavior over dynamic field

2011-02-16 Thread stockii
the fieldType is textgen. - --- System One Server, 12 GB RAM, 2 Solr Instances, 7 Cores, 1 Core with 31 Million Documents other Cores < 100.000 - Solr1 for Search-Requests - commit every Minute - 4GB Xmx - Solr2 for Upd

Re: Triggering optimise based on time interval

2011-02-16 Thread Stefan Matheis
Renaud, just because i'm interested in .. what are your concerns about using cron for that? Stefan On Wed, Feb 16, 2011 at 2:12 PM, Renaud Delbru wrote: > Hi, > > We would like to trigger an optimise every x hours. From what I can see, > there is nothing in Solr (3.1-SNAPSHOT) that enables to d

Re: Spatial Search

2011-02-16 Thread Stefan Matheis
Nishant, correct me if i'm wrong .. but spatial search normally requires geo-information, like latitude and longitude to work? so you would need to fetch this information before putting them into solr. the google maps api offers http://code.google.com/intl/all/apis/maps/documentation/geocoding/#Re

Re: SolrException x undefined field

2011-02-16 Thread Stefan Matheis
Regarding the Wiki-Page .. since 1.2 .. so, yes, should :) On Wed, Feb 16, 2011 at 1:55 PM, Leonardo Souza wrote: > Hi Stefan, > > LukeRequestHandler could be a good solution, there's a lot of useful info. > This handler works with version 1.4x? > > thanks > > [ ]'s > Leonardo da S. Souza >  °v°

Re: SolrCloud - Example C not working

2011-02-16 Thread Yonik Seeley
On Wed, Feb 16, 2011 at 3:57 AM, Thorsten Scherler wrote: > On Tue, 2011-02-15 at 09:59 -0500, Yonik Seeley wrote: >> On Mon, Feb 14, 2011 at 8:08 AM, Thorsten Scherler >> wrote: >> > Hi all, >> > >> > I followed http://wiki.apache.org/solr/SolrCloud and everything worked >> > fine till I tried

Spatial Search

2011-02-16 Thread nishant.anand
Hi, I have very typical problem. From one of my applications I get data in the format Some Address 1 How can I implement a spatial search for this data? Any ideas are welcome Regards, Nishant Anand

Re: SolrException x undefined field

2011-02-16 Thread Leonardo Souza
Hi Stefan, LukeRequestHandler could be a good solution, there's a lot of useful info. This handler works with version 1.4x? thanks [ ]'s Leonardo da S. Souza °v° Linux user #375225 /(_)\ http://counter.li.org/ ^ ^ On Wed, Feb 16, 2011 at 10:41 AM, Stefan Matheis < matheis.ste...@google

Re: strange search-behavior over dynamic field

2011-02-16 Thread Erick Erickson
What does the admin page show you are the contents of your index for reason_1? I suspect you don't really have two documents with the same value. Perhaps you give them both the same uniqueKey and one overwrites the other. Perhaps you didn't commit the second. Perhaps But you haven't provided

Re: SolrException x undefined field

2011-02-16 Thread Stefan Matheis
Maybe the http://wiki.apache.org/solr/LukeRequestHandler ? On Wed, Feb 16, 2011 at 1:34 PM, Savvas-Andreas Moysidis wrote: > There is probably a better and more robust way of doing this, but you could > make a request to /solr/admin/file/?file=schema.xml and parse the returned > xml? > > Does any

Re: SolrException x undefined field

2011-02-16 Thread Savvas-Andreas Moysidis
There is probably a better and more robust way of doing this, but you could make a request to /solr/admin/file/?file=schema.xml and parse the returned xml? Does anyone else know of a better way to query Solr for its schema? Thanks, - Savvas On 16 February 2011 11:34, Leonardo Souza wrote: > Hi

Re: SolrException x undefined field

2011-02-16 Thread Leonardo Souza
Hi, We do have a validation layer for other purposes, but this layer do not know about the fields and i would not like to replicate this configuration. Is there any way to query the solr core about declared fields? thanks, [ ]'s Leonardo da S. Souza °v° Linux user #375225 /(_)\ http://coun

strange search-behavior over dynamic field

2011-02-16 Thread stockii
Hello. i have the field reason_1 and reason_2. this two fields is in my schema one dynamicField: i copy this field in my text-default search field: And in a new field reason: ---> if i have two documents with the exactly same value in the reason_1 field, solr can only find ONE document, not

Re: Solr not Available with Ping when DocBuilder is running

2011-02-16 Thread stockii
my error is, that solr is not reachable with a ping. ping over php-HttpRequest ... - --- System One Server, 12 GB RAM, 2 Solr Instances, 7 Cores, 1 Core with 31 Million Documents other Cores < 100.000 - Solr1 for Search-

Re: SolrException x undefined field

2011-02-16 Thread Savvas-Andreas Moysidis
Hi, If you have an Application layer and are not directly hitting Solr then maybe this functionality could be implemented in Validation layer prior to making the Solr call ? Cheers, - Savvas On 16 February 2011 10:23, Leonardo Souza wrote: > Hi, > > We are using solr 1.4 in a big project. Now

Re: clustering with tomcat

2011-02-16 Thread Markus Jelsma
I have no idea, seems you haven't compiled Carrot2 or haven't included all jars. On Wednesday 16 February 2011 11:29:30 Isha Garg wrote: > On Wednesday 16 February 2011 03:32 PM, Markus Jelsma wrote: > > What distro are you using? On at least Debian systems you can put the - > > Dsolr.clustering.

Snappull failed

2011-02-16 Thread Markus Jelsma
Hi, There are a couple of Solr 1.4.1 slaves, all doing the same. Pulling some snaps, handling some queries, nothing exciting. But can anyone explain a sudden nightly occurence of this error? 2011-02-16 01:23:04,527 ERROR [solr.handler.ReplicationHandler] - [pool-238- thread-1] - : SnapPull fail

Re: clustering with tomcat

2011-02-16 Thread Isha Garg
On Wednesday 16 February 2011 03:32 PM, Markus Jelsma wrote: What distro are you using? On at least Debian systems you can put the - Dsolr.clustering.enabled=true environment variable in /etc/default/tomcat6. You can also, of course, remove all occurences of ${solr.clustering.enabled} from you s

SolrException x undefined field

2011-02-16 Thread Leonardo Souza
Hi, We are using solr 1.4 in a big project. Now it's time to make some improvements. We use the standard query parser and we would like to handle the misspelled field names. The problem is that SolrException can not help to flag the problem appropriately because this exception is used for other pr

Re: clustering with tomcat

2011-02-16 Thread Markus Jelsma
What distro are you using? On at least Debian systems you can put the - Dsolr.clustering.enabled=true environment variable in /etc/default/tomcat6. You can also, of course, remove all occurences of ${solr.clustering.enabled} from you solrconfig.xml On Wednesday 16 February 2011 10:52:35 Isha Gar

Re: clustering with tomcat

2011-02-16 Thread Isha Garg
On Wednesday 16 February 2011 02:41 PM, Markus Jelsma wrote: On Debian you can edit /etc/default/tomcat6 hi, i am using solr1.4 with apache tomcat. to enable the clustering feature i follow the link http://wiki.apache.org/solr/ClusteringComponent Plz help me how to add-Dsolr.

Re: How to use XML parser in DIH for a database?

2011-02-16 Thread Stefan Matheis
What about using http://wiki.apache.org/solr/DataImportHandler#XPathEntityProcessor ? On Wed, Feb 16, 2011 at 10:08 AM, Bill Bell wrote: > I am using DIH. > > I am trying to take a column in a SQL Server database that returns an XML > string and use Xpath to get data out of it. > > I noticed that

Re: clustering with tomcat

2011-02-16 Thread Markus Jelsma
On Debian you can edit /etc/default/tomcat6 > hi, > i am using solr1.4 with apache tomcat. to enable the > clustering feature > i follow the link > http://wiki.apache.org/solr/ClusteringComponent > Plz help me how to add-Dsolr.clustering.enabled=true to $CATALINA_OPTS. > after that w

How to use XML parser in DIH for a database?

2011-02-16 Thread Bill Bell
I am using DIH. I am trying to take a column in a SQL Server database that returns an XML string and use Xpath to get data out of it. I noticed that Xpath works with external files, how do I get it to work with a database? I need something like "//insur[5][@name='Blue Cross']" Thanks.

Re: Question regarding inner entity in dataimporthandler

2011-02-16 Thread Stefan Matheis
Greg, a few things, i noticed while reading your post: 1) you don't need an -assignment for fields where the name does not change, you can just skip that. - just to name one example 2) TemplateTransformer (http://wiki.apache.org/solr/DataImportHandler#TemplateTransformer) has no name-attribute,

Re: Errors when implementing VelocityResponseWriter

2011-02-16 Thread Erik Hatcher
Well, you need to specify a path, relative or absolute, that points to the directory where the Velocity JAR file resides. I'm not sure, at this point, exactly what you're missing. But it should be fairly straightforward. Solr startup logs the libraries it loads, so maybe that is helpful info.