RE: Is there a way to change transientCacheSize dynamically without restarting Solr

2014-05-18 Thread Elran Dvir
Does anyone have an answer for this? Thanks. From: Elran Dvir Sent: Thursday, May 15, 2014 12:32 PM To: solr-user@lucene.apache.org Subject: Is there a way to change transientCacheSize dynamically without restarting Solr Hi All, Is there an API in Solr to change transientCacheSize dynamically w

Re: trigger delete on nested documents

2014-05-18 Thread Thomas Scheffler
Am 19.05.2014 08:38, schrieb Walter underwood: Solr does not support nested documents. -- wunder It does since 4.5: http://lucene.apache.org/solr/4_5_0/solr-solrj/org/apache/solr/common/SolrInputDocument.html#addChildDocuments(java.util.Collection) But this feature is rather poor documented

Re: trigger delete on nested documents

2014-05-18 Thread Walter underwood
Solr does not support nested documents. -- wunder > On May 18, 2014, at 11:36 PM, Thomas Scheffler > wrote: > > Hi, > > I plan to use nested documents to group some of my fields > > > art0001 > My first article > >art0001-foo >Smith, John >author > > >art0001-bar >

trigger delete on nested documents

2014-05-18 Thread Thomas Scheffler
Hi, I plan to use nested documents to group some of my fields art0001 My first article art0001-foo Smith, John author art0001-bar Power, Max reviewer This way can ask for any documents that are reviewed by Max Power. However to simplify update and deletes

A work around to get matching terms from document - Stemmed and Synonyms

2014-05-18 Thread venkatesham.gu...@igate.com
I am looking for a feature in SOLR that will give me all matched terms in the document when I search with a query term, My SOLR field uses Stemming and Synonym filters as a result of this I am unable find what was matching term in the document from the index.As a work around I have written a progra

Re: location of the files created by zookeeper?

2014-05-18 Thread Aman Tandon
Thanks steve. With Regards Aman Tandon On Sat, May 17, 2014 at 6:07 AM, Steve McKay wrote: > The config is stored in ZooKeeper. > /configs/myconf/velocity/pagination_bottom.vm is a ZooKeeper path, not a > filesystem path. The data on disk is in ZK's binary format. Solr uses the > ZK client lib

How to delete docs only in a spec shard within a collection

2014-05-18 Thread YouPeng Yang
Hi I have a colloection with 3 shards. I want to delete some docs in one shard with the command: http://10.1.22.1:8082/solr/tv_201402/update?&stream.body=BEGINTIME:["2014-03-01 00:00:00" TO *]&shards=tv_201402&commit=true As the red font exepression, It is supposed that docs only in the sh

Re: multiValued filed vs separate fields

2014-05-18 Thread Erick Erickson
I'd go with 100 separate fields I think, it's a more "natural" mapping and probably expresses the underlying structure better. Besides, I'd expect the index to be smaller, you wouldn't be storing the property name over and over and over... Best, Erick On Wed, May 14, 2014 at 8:12 AM, Pavel Belen

Re: Index / Query IP Address as number.

2014-05-18 Thread Walter Underwood
Use a PatternReplaceCharFilterFactory to map the periods to empty strings, then use a KeywordTokenizer and a string field type. If you want to sort it or do range queries, you might use an integer field. wunder On May 18, 2014, at 12:20 PM, SolrUser1543 wrote: > This question was raised here

Re: Index / Query IP Address as number.

2014-05-18 Thread Jack Krupansky
What are you using for your default query operator, and do you have autoGeneratePhraseQueries set to "true" for your field type? I mean, a query for 192.168.1.4 shouldn't match 192.168.1.3 - unless you have autoGeneratePhraseQueries set to "false" (the default.) -- Jack Krupansky -Origin

Index / Query IP Address as number.

2014-05-18 Thread SolrUser1543
This question was raised here for a few times , but no final solution was provided . I'am using a combination of ClassicTokenizer and WordDelimiterFactory in my Query / Index chain. as a result an IP like 192.168.1.3 is indexed as 192 - pos1 168 - pos2 1- pos3 3- pos4 19216813 - p

Re: Replica as a "leader"

2014-05-18 Thread Anshum Gupta
SOLR-5468 might be useful for you. On Sun, May 18, 2014 at 1:54 AM, adfel70 wrote: > *one of the most impotent requirements in my system is not to lose docs and > not to retrieve part of the data at query time.* > > I expect the replica to wait

Re: Replica as a "leader"

2014-05-18 Thread adfel70
*one of the most impotent requirements in my system is not to lose docs and not to retrieve part of the data at query time.* I expect the replica to wait until the real leader will start or at least to sync the real leader with the docs indexed in the replica after starting and syncing the replic

Re: Sub-Sequence token filter

2014-05-18 Thread Nitzan Shaked
URLClassifyProcessorFactory doesn't do anything near what I need. It analyzes URLs and outputs broken-down data. I am going to create a JIRA ticket for my filter, with the hopes that someone finds it useful. On Fri, May 16, 2014 at 10:38 PM, Ahmet Arslan wrote: > Hi, > > I don't have system th