Retrieving indexed field data

2010-05-03 Thread Licinio Fernández Maurelo
Hi folks, i'm wondering if there is a way to retrieve the indexed data. The reason is that i'm working on a solrj-based tool that copies one index data into other (allowing you to perform changes in docs ). I know i can't perform any change in an indexed field, just want to copy the chunk of

Some questions on solr replication backup feature

2010-02-04 Thread Licinio Fernández Maurelo
Hi folks, as we're moving to solr 1.4 replication, i want to know about backups. Questions - 1. Properties that can be set to configure this feature (only know backupAfter) 2. Is it an incremental backup or a full index snapshoot? Thx -- Lici ~Java Developer~

Re: Some questions on solr replication backup feature

2010-02-04 Thread Licinio Fernández Maurelo
I've made a backup request to my local solr server, it works but .. can i set snapshoots dir path? El 4 de febrero de 2010 16:54, Licinio Fernández Maurelo licinio.fernan...@gmail.com escribió: Hi folks, as we're moving to solr 1.4 replication, i want to know about backups. Questions

Mavenizing solr webapp

2010-01-28 Thread Licinio Fernández Maurelo
Hi everybody. I'm trying to build apache-solr *webapp* (not the whole project) using maven . Also want to reuse the build.xml ant file. The directory structure is: +build +client +contrib . +src +webapp/src --webapp code +dist --generated artifacts by the ant script --must be copied

Field collapsing patch error

2010-01-19 Thread Licinio Fernández Maurelo
Hi folks, i've downloaded solr release 1.4 and tried to apply latest field collapsing patchhttps://issues.apache.org/jira/secure/attachment/12428902/SOLR-236.patchi've found . Found errors : d...@backend05:~/workspace/solr-release-1.4.0$ patch -p0 -i SOLR-236.patch patching file

Re: solr perf

2009-12-21 Thread Licinio Fernández Maurelo
not bad advise ;-) 2009/12/20 Walter Underwood wun...@wunderwood.org Here is an idea. Don't make one core per user. Use a field with a user id. wunder On Dec 20, 2009, at 12:38 PM, Matthieu Labour wrote: Hi I have a slr instance in which i created 700 core. 1 Core per user of my

Calculate term vector

2009-12-21 Thread Licinio Fernández Maurelo
Hi folks, how can i get term vector from a custom solr query via http request? is this possible? -- Lici ~Java Developer~

Re: Solr Configuration Management

2009-12-10 Thread Licinio Fernández Maurelo
setted? Is there any open jira issue to allow global core configuration (dataimport and core)? Thx El 10 de diciembre de 2009 16:35, Licinio Fernández Maurelo licinio.fernan...@gmail.com escribió: -- Mensaje reenviado -- De: Licinio Fernández Maurelo licinio.fernan

Commit error

2009-11-11 Thread Licinio Fernández Maurelo
Hi folks, i'm getting this error while committing after a dataimport of only 12 docs !!! Exception while solr commit. java.io.IOException: background merge hit exception: _3kta:C2329239 _3ktb:c11-_3ktb into _3ktc [optimize] [mergeDocStores] at

Re: Commit error

2009-11-11 Thread Licinio Fernández Maurelo
Thanks Israel, i've done a sucesfull import using optimize=false 2009/11/11 Israel Ekpo israele...@gmail.com 2009/11/11 Licinio Fernández Maurelo licinio.fernan...@gmail.com Hi folks, i'm getting this error while committing after a dataimport of only 12 docs !!! Exception while

Re: How to integrate Solr into my project

2009-11-03 Thread Licinio Fernández Maurelo
Hi Caroline, i think that you must take an overview tour ;-) , solrj is just a solr java client ... Some clues: - Define your own index schema http://wiki.apache.org/solr/SchemaXml(it's just like a SQL DDL) . - There are different ways to put docs in your index: - SolrJ (Solr

Problems downloading lucene 2.9.1

2009-11-02 Thread Licinio Fernández Maurelo
Hi folks, as we are using an snapshot dependecy to solr1.4, today we are getting problems when maven try to download lucene 2.9.1 (there isn't a any 2.9.1 there). Which repository can i use to download it? Thx -- Lici

Re: Problems downloading lucene 2.9.1

2009-11-02 Thread Licinio Fernández Maurelo
Thanks guys !!! 2009/11/2 Ryan McKinley ryan...@gmail.com On Nov 2, 2009, at 8:29 AM, Grant Ingersoll wrote: On Nov 2, 2009, at 12:12 AM, Licinio Fernández Maurelo wrote: Hi folks, as we are using an snapshot dependecy to solr1.4, today we are getting problems when maven try

Re: Problems downloading lucene 2.9.1

2009-11-02 Thread Licinio Fernández Maurelo
de noviembre de 2009 08:03, Licinio Fernández Maurelo licinio.fernan...@gmail.com escribió: Thanks guys !!! 2009/11/2 Ryan McKinley ryan...@gmail.com On Nov 2, 2009, at 8:29 AM, Grant Ingersoll wrote: On Nov 2, 2009, at 12:12 AM, Licinio Fernández Maurelo wrote: Hi folks, as we

Re: Solr Configuration Management

2009-10-27 Thread Licinio Fernández Maurelo
are you referring to DIH? yes 2009/10/27 Noble Paul നോബിള്‍ नोब्ळ् noble.p...@corp.aol.com 2009/10/26 Licinio Fernández Maurelo licinio.fernan...@gmail.com: Hi there, i must enhance solr config deploys. I have a configuration file per environment and per role (Master-Slave) so i

Solr Configuration Management

2009-10-26 Thread Licinio Fernández Maurelo
Hi there, i must enhance solr config deploys. I have a configuration file per environment and per role (Master-Slave) so i want to separate DataSource definitions from the solrconfig.xml . Where can i put them? Same behaviour is desired for Master-Slave conf diffs. Any help would be much

Re: multicore query via solrJ

2009-10-23 Thread Licinio Fernández Maurelo
As no answer is given, I assume it's not possible. It will be great to code a method like this query(SolrServer, ListSolrServer) El 20 de octubre de 2009 11:21, Licinio Fernández Maurelo licinio.fernan...@gmail.com escribió: Hi there, is there any way to perform a multi-core query using

Creating cores using SolrJ

2009-10-06 Thread Licinio Fernández Maurelo
Hi there, i want to create cores using SolrJ, but i also want to create then in a given datadir. How can i do this? Looking CoreAdminRequest methods i only found: - createCore(name, instanceDir, server) - createCore(name, instanceDir, server, configFile, schemaFile) None of above methods

Mapping SolrDoc to SolrInputDoc

2009-09-16 Thread Licinio Fernández Maurelo
Hi there, currently i'm working on a small app which creates an Embedded Solr Server, reads all documents from one core and puts these docs into another one. The purpose of this app is to apply (small) changes on schema.xml to indexed data (offline) resulting a new index with documents updated

Re: Mapping SolrDoc to SolrInputDoc

2009-09-16 Thread Licinio Fernández Maurelo
I'll try, thanks Martijn 2009/9/16 Martijn v Groningen martijn.is.h...@gmail.com Hi Licinio, You can use ClientUtils.toSolrInputDocument(...), that converts a SolrDocument to a SolrInputDocument. Martijn 2009/9/16 Licinio Fernández Maurelo licinio.fernan...@gmail.com: Hi

Dealing with term vectors

2009-09-15 Thread Licinio Fernández Maurelo
Hi there, i want to recover the term vectors from indexes not calculating then but just only recovering instead. Some questions about this topic: 1. When i put the termVector=true option ... what's happening behind? 1. Is Lucene storing the tv in the index? 2. Is Lucene

Logging solr requests

2009-09-02 Thread Licinio Fernández Maurelo
Hi there, i need to log solr requests on the fly , filter, transform them and finally put them into an index. Any advice on best way to implement such this behaviour? Key points: - I think that the use of log files is discouraged, but i don't know if i can modify solr settings to log to a

JDWP Error

2009-08-26 Thread Licinio Fernández Maurelo
The servlet container (resin) where i deploy solr shows : ERROR: transport error 202: bind failed: Address already in use ERROR: JDWP Transport dt_socket failed to initialize, TRANSPORT_INIT(510) JDWP exit error AGENT_ERROR_TRANSPORT_INIT(197): No transports initialized

Re: Replication over multi-core solr

2009-08-19 Thread Licinio Fernández Maurelo
Hi Vivek, currently we want to add cores dynamically when the active one reaches some capacity, can you give me some hints to achieve such this functionality? (Just wondering if you have used shell-scripting or you have code some 100% Java based solution) Thx 2009/8/19 Noble Paul നോബിള്‍

Re: CorruptIndexException: Unknown format version

2009-08-19 Thread Licinio Fernández Maurelo
It looks like your solr lucene-core version doesn't match with the lucene version used to generate the index, as Yonik said, looks like there is a lucene library conflict. 2009/8/19 Chris Hostetter hossman_luc...@fucit.org: : how can that happen, it is a new index, and it is already corrupt? :

Adding cores dynamically

2009-08-19 Thread Licinio Fernández Maurelo
Hi there, currently we want to add cores dynamically when the active one reaches some capacity, can anyone give me some hints to achieve such this functionality? (Just wondering if you have used shell-scripting or you have code some 100% Java based solution) Thx -- Lici

Re: Replication over multi-core solr

2009-08-19 Thread Licinio Fernández Maurelo
Ok 2009/8/19 vivek sar vivex...@gmail.com: Licinio,  Please open a separate thread - as it's a different issue - and I can respond there. -vivek 2009/8/19 Licinio Fernández Maurelo licinio.fernan...@gmail.com: Hi Vivek, currently we want to add cores dynamically when the active one

Re: Spanish Stemmer

2009-08-19 Thread Licinio Fernández Maurelo
Hi, take a look at this: !-- Tipo de campo para Textos (con stemming en español) -- fieldtype name=textTypeWithStemming class=solr.TextField analyzer type=index tokenizer class=solr.WhitespaceTokenizerFactory/ filter class=solr.WordDelimiterFilterFactory

Aliases for fields

2009-08-18 Thread Licinio Fernández Maurelo
Hello everybody, can i set an alias for a field? Something like : field name=sourceDate type=uniqueIdType indexed=true stored=true multiValued=false termVectors=false alias=source.date/ is there any jira issue related? Thx -- Lici

Re: Aliases for fields

2009-08-18 Thread Licinio Fernández Maurelo
?) to implement this beahaviour thanks 2009/8/18 Avlesh Singh avl...@gmail.com: What could possibly be a use case for such a need? Cheers Avlesh 2009/8/18 Licinio Fernández Maurelo licinio.fernan...@gmail.com Hello everybody, can i set an alias for a field? Something like : field name=sourceDate

Re: How can i get lucene index format version information?

2009-08-18 Thread Licinio Fernández Maurelo
Nobody knoes how can i get exactly this info : index format : -9 (UNKNOWN) Despite of knowing str name=lucene-impl-version2.9-dev 794238 - 2009-07-15 18:05:08/str helps, i assume that it doesn't implies an index format change Am i wrong? El 11 de agosto de 2009 11:53, Licinio Fernández

Re: Aliases for fields

2009-08-18 Thread Licinio Fernández Maurelo
. Don't know if there is an alternative (maybe copyfield?) to implement this beahaviour Though I am not sure what you want to achieve, yet a copyField is very similar to what you are asking for. Cheers Avlesh 2009/8/18 Licinio Fernández Maurelo licinio.fernan...@gmail.com Currently we

Index health checking

2009-08-18 Thread Licinio Fernández Maurelo
As you suppose, i'm asking if currently solr implements this functionality or there is any related jira issue. A few days ago, our solr server suffered an unsafe power shutdown. After restoring, we found wrong behaviour (we got NullPointerException when aplying sort criteria in some queries) due

Re: How can i get lucene index format version information?

2009-08-11 Thread Licinio Fernández Maurelo
Thanks all for your responses, what i expect to get is the index format version as it appears in luke's overview tab (index format : -9 (UNKNOWN) 2009/7/31 Jay Hill jayallenh...@gmail.com: Check the system request handler: http://localhost:8983/solr/admin/system Should look something like

How can i get lucene index format version information?

2009-07-30 Thread Licinio Fernández Maurelo
i want to get the lucene index format version from solr web app (as luke do), i've tried looking for the info at luke handler response, but i havn't found this info -- Lici

Re: FieldCollapsing: Two response elements returned?

2009-07-29 Thread Licinio Fernández Maurelo
I've applied latest collapse field related patch (patch-3) and it doesn't work. Anyone knows how can i get only the collapse response ? 29-jul-2009 11:05:21 org.apache.solr.common.SolrException log GRAVE: java.lang.ClassCastException: org.apache.solr.handler.component.CollapseComponent cannot be

Re: FieldCollapsing: Two response elements returned?

2009-07-29 Thread Licinio Fernández Maurelo
My last mail is wrong. Sorry El 29 de julio de 2009 11:10, Licinio Fernández Maurelolicinio.fernan...@gmail.com escribió: I've applied latest collapse field related patch (patch-3) and it doesn't work. Anyone knows how can i get only the collapse response ? 29-jul-2009 11:05:21

facet.prefix question

2009-07-23 Thread Licinio Fernández Maurelo
i'm trying to do some filtering in the count list retrieved by solr when doing a faceting query , i'm wondering how can i use facet.prefix to gem something like this: Query facet.field=foofacet.prefix=A OR B Response lst name=facet_fields - lst name=foo int name=A12560/int int

spell checker's collate values

2009-07-07 Thread Licinio Fernández Maurelo
Hi all, i'm still trying to tune my spellchecker to get the results i expect I've created a dictionary and currently i want to get an special behaviour from the spellchecker. The fact is that when i introduce the query 'Fernandox Alonso' i get what i expect : bool

Creating spellchecker dictionary from multiple sources

2009-07-02 Thread Licinio Fernández Maurelo
Hello everybody, dealing with the spell checker component i'm wondering if it's possible to generate my dictionary index based on multiple indexes fields and also want to know how anyone has solve this problem. Thx -- Lici

Re: Creating spellchecker dictionary from multiple sources

2009-07-02 Thread Licinio Fernández Maurelo
at multiple indices. Otis -- Sematext -- http://sematext.com/ -- Lucene - Solr - Nutch - Original Message From: Licinio Fernández Maurelo licinio.fernan...@gmail.com To: solr-user@lucene.apache.org Sent: Thursday, July 2, 2009 5:36:34 AM Subject: Creating spellchecker dictionary