Re: DataImport TXT file entity processor

2009-01-24 Thread Noble Paul നോബിള്‍ नोब्ळ्
an EntityProcessor looks right to me. It may help us add more attributes if needed. PlainTextEntityProcessor looks like a good name. It can also be used to read html etc. --Noble On Sat, Jan 24, 2009 at 12:37 PM, Shalin Shekhar Mangar wrote: > On Sat, Jan 24, 2009 at 5:56 AM, Nathan Adams wrote

Re: Should I extend DIH to handle POST too?

2009-01-24 Thread Noble Paul നോബിള്‍ नोब्ळ्
That does not look like a great option. DIH looks like an overkill for this usecase. You can write a simple UpdateHandler to do that . All that you need to do is to extent ContentStreamHandlerBase and register it as an UpdateHandler On Sat, Jan 24, 2009 at 12:34 PM, Shalin Shekhar Mangar wrote

Re: Solr Replication: disk space consumed on slave much higher than on master

2009-01-24 Thread Noble Paul നോബിള്‍ नोब्ळ्
hi Jaco, We owe you a bing THANK YOU. We were planning to roll out this feature into production in the next week or so. Our internal testing could not find this out. --Noble On Fri, Jan 23, 2009 at 6:36 PM, Jaco wrote: > Hi, > > I have tested this as well, looking fine! Both issues are inde

Re: How to make Relationships work for Multi-valued Index Fields?

2009-01-24 Thread Fergus McMenemie
Hello, I am also a newbie and was wanting to do almost the exact same thing. I was planning on doing the equivalent of:- ***change**

Re: How to make Relationships work for Multi-valued Index Fields?

2009-01-24 Thread Noble Paul നോബിള്‍ नोब्ळ्
nesting of an XPathEntityProcessor into another XPathEntityProcessor is possible only if a field in an xml is a filename/url . what is the purpose of nesting like this? is it because you have multiple addresses? the possible solutions are discussed elsewhere in this thread On Sat, Jan 24, 2009 at

Re: Master failover - seeking comments

2009-01-24 Thread Noble Paul നോബിള്‍ नोब्ळ्
Did you look at the new in-built replication? http://wiki.apache.org/solr/SolrReplication#head-0e25211b6ef50373fcc2f9a6ad40380c169a5397 It can help you decide where to replicate from during runtime . Look at the snappull command you can pass the masterUrl at the time of replication. On Fri, Jan

Re: Random queries extremely slow

2009-01-24 Thread Alexander Ramos Jardim
Use multiple boxes, with a mirroring delaay from one to another, like a pipeline. 2009/1/22 oleg_gnatovskiy > > Well this probably isn't the cause of our random slow queries, but might be > the cause of the slow queries after pulling a new index. Is there anything > we could do to reduce the per

Re: Results not appearing

2009-01-24 Thread Johnny X
They all appear in the stats admin page under the NumDocs & maxDocs fields. I don't explicitly send a commit command, but my posting ends like this (suggesting they are commited): SimplePostTool: POSTing file 21166.xml SimplePostTool: POSTing file 21169.xml SimplePostTool: COMMITting Solr index

Re: How to make Relationships work for Multi-valued Index Fields?

2009-01-24 Thread Noble Paul നോബിള്‍ नोब्ळ्
Hi Fergus, XPathEntityprocessor can read multivalued fields easily eg ***change** In this case all address_street,address_state,address_type will be returned as s

Re: Results not appearing

2009-01-24 Thread Johnny X
If it helps, everything appears when I use Luke to search through the index...but the search in that returns nothing either. When I search using the admin page for the word 'Phillip' (which appears the most in all of the documents) I get the following: - - 0 0 - on 0 phillip

Re: solr-duplicate post management

2009-01-24 Thread S.Selvam Siva
On Thu, Jan 22, 2009 at 2:33 PM, S.Selvam Siva wrote: > > > On Thu, Jan 22, 2009 at 7:12 AM, Chris Hostetter > wrote: > >> >> : what i need is ,to log the existing urlid and new urlid(of course both >> will >> : not be same) ,when a .xml file of same id(unique field) is posted. >> : >> : I want t

Re: faceting question

2009-01-24 Thread Cam Bazz
is there no other way then to use the patch? since the query A is super set of B ??? if not doable, I will probably use some caching technique. Best. On Sat, Jan 24, 2009 at 9:14 AM, Shalin Shekhar Mangar wrote: > On Sat, Jan 24, 2009 at 6:56 AM, Cam Bazz wrote: > >> Hello; >> >> I got a mult

Re: Results not appearing

2009-01-24 Thread Chris Harris
I should clarify that I misspoke before; I thought you had indexed="true" on Message-Id and Date, whereas you had it on Message-Id and Content. It sounds like you figured this out and interpreted my reply in a useful way nonetheless, though. So that's good. The post tool should be a valid way to c

Re: Solr stemming -> preserve original words

2009-01-24 Thread AHMET ARSLAN
I still don't understand your final goal but if you want to get an output in the form of "run(40) => 20 from running, 10 from run, 8 from runners, 2 from runner" you need to index your documents using standard analyzer. Walk through the index using org.apache.lucene.index.IndexReader and stem e

size of solr update document a limitation?

2009-01-24 Thread Paul Libbrecht
Hello Solr experts, is good practice to post large solr update documents? (e.g. 100kb-2mb). Will solr do the necessary tricks to make the field use a reader instead of strings? thanks in advance paul smime.p7s Description: S/MIME cryptographic signature

Re: Results not appearing

2009-01-24 Thread Johnny X
Thanks for the reply. I ended up fixing it by re-installing Tomcat and starting over. Searches now appear to work. Because I'm testing atm however, is it possible to delete the index and start afresh in future. At the moment I backed up the original index folder...if I just replace that with th

Re: Results not appearing

2009-01-24 Thread Chris Harris
Without you stopping Solr itself, a solr client can remove all the documents in an index by doing a delete-by-query with the query "*:*" (without quotes). For XML interface clients, see http://wiki.apache.org/solr/UpdateXmlMessage. Solrj would have another way to do it. You'll need to do a commit a

Re: How to make Relationships work for Multi-valued Index Fields?

2009-01-24 Thread Gunaranjan Chandraraju
I make this approach work with XPATH and XSL. However, this approach creates multiple fields of like this address_state_1 address_state_2 ... address_state_10 and credit_card_1 credit_card_2 credit_card_3 How do I search for a credit_card.The query syntax does not seem to support wi

Re: How to make Relationships work for Multi-valued Index Fields?

2009-01-24 Thread Noble Paul നോബിള്‍ नोब्ळ्
for searching you need to put them in a single field . use in schema.xml to achieve that On Sun, Jan 25, 2009 at 7:39 AM, Gunaranjan Chandraraju wrote: > I make this approach work with XPATH and XSL. However, this approach > creates multiple fields of like this > > address_state_1 > address_st