RE: Schema Design Question

2011-05-14 Thread Zac Smith
Thanks that looks interesting. Don't think it helps my situation though as I would have to index all the bookshelves and will still end up having to put thousands of Book ID values in a multi-value field. I guess the question I have is: Is it more appropriate to load a multi-value field with a

How to plugin the value of a Field? DocInverterPerField?

2011-05-14 Thread Gabriele Kahlout
Hello, I'm trying to add an extra field to the schema.xml that is only stored, but with nutch not knowing about it, I don't know how to tell Solr of its value for each document. I'd like to plugin the computation, something like is done with Similarity, but I'm not sure how to do that. From

Re: Want to Delete Existing Index create fresh index

2011-05-14 Thread François Schiettecatte
You can also shut down solr/lucene, do: rm -rf /YourIndexName/data/index and restart, the index directory will be automatically recreated. François On May 14, 2011, at 1:53 AM, Gabriele Kahlout wrote: curl --fail $solrIndex/update?commit=true -d 'deletequery*:*/query/delete' #empty

Re: Want to Delete Existing Index create fresh index

2011-05-14 Thread Pawan Darira
I did that. Index directory is created but not contents in that 2011/5/14 François Schiettecatte fschietteca...@gmail.com You can also shut down solr/lucene, do: rm -rf /YourIndexName/data/index and restart, the index directory will be automatically recreated. François On May 14,

Re: Want to Delete Existing Index create fresh index

2011-05-14 Thread Dmitry Kan
Hi Pawan, Which SOLR version do you have installed? It should be absolutely normal for the data/ sub directory to create when starting up SOLR. So just go ahead and post your data into SOLR, if you have changed the schema already. -- Regards, Dmitry Kan On Sat, May 14, 2011 at 4:01 PM,

Re: How to plugin the value of a Field? DocInverterPerField?

2011-05-14 Thread Gabriele Kahlout
It looks like I've to contact updateHandler class=solr.DirectUpdateHandler2 with an AddUpdateCommand . On Sat, May 14, 2011 at 12:36 PM, Gabriele Kahlout gabri...@mysimpatico.com wrote: Hello, I'm trying to add an extra field to the schema.xml that is only stored, but with nutch not

Re: How to plugin the value of a Field? DocInverterPerField?

2011-05-14 Thread Markus Jelsma
I'm not sure what you're trying to do. Where does the field value needs to come from? Hello, I'm trying to add an extra field to the schema.xml that is only stored, but with nutch not knowing about it, I don't know how to tell Solr of its value for each document. I'd like to plugin the

Re: How to plugin the value of a Field? DocInverterPerField?

2011-05-14 Thread Gabriele Kahlout
I calculate it from search-time + index-time field values. For example, say I want to print the reciprocal of the content field norm (available at index-time) along every document in the results. What's the 'clean' way of doing that? On Sat, May 14, 2011 at 3:42 PM, Markus Jelsma

Re: Want to Delete Existing Index create fresh index

2011-05-14 Thread Pawan Darira
Hi I am using Solr 1.4. had changed schema already. When i created the index for first time, the directory was automatically created index made perfectly fine. Now, i want to create the index from scratch, so I deleted the whole data/index directory ran the script. Now it is only creating

Re: Results with and without whitspace(soccer club and soccerclub)

2011-05-14 Thread lboutros
Hi, synonyms could be an option, but could you describe a bit more your problem please (current analyzer, documents, solr version) ? Ludovic. 2011/5/13 roySolr [via Lucene] ml-node+2934742-186141045-383...@n3.nabble.com Hello, My index looks like this: Soccer club Football club etc.

Replication - replicated failed at the same time?

2011-05-14 Thread Stefan Matheis
Hi Guys, while working on the UI for Replication, i've got confused sometimes because of the following response (from /replication?command=details): ?xml version=1.0 encoding=UTF-8? response lst name=details lst name=slave !-- .. -- str name=indexReplicatedAtSat May 14

Re: Want to Delete Existing Index create fresh index

2011-05-14 Thread Gabriele Kahlout
I guess you are having issues with the datadir. Did you set the datadir in solrconfig.xml? On Sat, May 14, 2011 at 4:10 PM, Pawan Darira pawan.dar...@gmail.comwrote: Hi I am using Solr 1.4. had changed schema already. When i created the index for first time, the directory was automatically

Re: Want to Delete Existing Index create fresh index

2011-05-14 Thread François Schiettecatte
Note that you should only delete the 'index' directory, not the 'data' directory as well. Also just deleting the files in the 'index' directory will not work either. You should also check the startup log for solr/lucene, usually any issues are logged there. François On May 14, 2011, at 1:19

Re: How to plugin the value of a Field? DocInverterPerField?

2011-05-14 Thread Gabriele Kahlout
Just reporting on progress: Hacking my own ResponseWriter I manage to add the field to the doc just-in-time before it's written. It's not that messy after all, and i suspect the fields could also be declared in schema.xml (if we want to be able to disable them at run-time) and only if present the

Re: how to concatenate two nodes of xml with xpathentityprocessor

2011-05-14 Thread kbootz
use the script transformer: dataConfig document entity name=x processor=XPathEntityProcessor forEach=/FULL url=D:\Files\${_FileName} dataSource=FD transformer=script:CombinedData field column=id xpath=/FULL/Customer/@id /