Hardware requirements to host Apache Solr application

2019-07-15 Thread Kaushal Shriyan
Hi, Are there any recommended hardware requirements to host Apache Solr application? For example is it t2.large in AWS or similar configuration in GCP and Microsoft Azure. Thanks in advance and i look forward to hearing from you. Best Regards, Kaushal

Re: Hardware requirements to host Apache Solr application

2019-07-15 Thread Shawn Heisey
On 7/15/2019 6:37 AM, Kaushal Shriyan wrote: Are there any recommended hardware requirements to host Apache Solr application? For example is it t2.large in AWS or similar configuration in GCP and Microsoft Azure. Thanks in advance and i look forward to hearing from you. This question is imposs

Re: Function Query with multi-value field

2019-07-15 Thread Emir Arnautović
Hi Wei, I see two options: 1. create custom distance function for colors 2. split each color component to a separate numeric fields and try calculate distance function using standard set of functions. (I think that Solr does not support 3d points). HTH, Emir -- Monitoring - Log Management - Aler

how to use copy filed as only taken after the suffix

2019-07-15 Thread UMA MAHESWAR
hi all, i am working as solr developer and my ask is to title field is copied to copyField to content type but i want o index only suffix (.)after vslue(like docx,ppt,jpg like that) is there any way. thank and regards, uma -- Sent from: http://lucene.472066.n3.nabble.com/Solr-User-f472068.htm

Re: how to use copy filed as only taken after the suffix

2019-07-15 Thread Emir Arnautović
Hi Uma, Take a look at https://lucene.apache.org/solr/guide/8_1/charfilterfactories.html#solr-patternreplacecharfilterfactory Depending on your usecase, this might be enough for you. HTH, Em

Re: Getting list of unique values in a field

2019-07-15 Thread Jason Gerlowski
The Solr ref-guide has examples which show how to do this too. Take a look at some of the faceting examples here: https://lucene.apache.org/solr/guide/8_1/json-facet-api.html#bucketing-facet-example Best, Jason On Fri, Jul 12, 2019 at 9:50 AM David Hastings wrote: > > i found this: > > https:/

Re: how to use copy filed as only taken after the suffix

2019-07-15 Thread Alexandre Rafalovitch
Hi Uma, You have three options: 1) If you are indexing only that field and not returning to the user, than you can mark it store=false and use one of the many filters to transform your content 2) If you are interested in both storing and indexing, then be aware that the stored representation will

Re: Hardware requirements to host Apache Solr application

2019-07-15 Thread Walter Underwood
One of our clusters got as large as 40 c4.8xlarge, another is happy with 4 m4.xlarge and could probably handle the load with one of them. It depends on the number of documents, query load, types of queries, frequency of updates, all sorts of things. wunder Walter Underwood wun...@wunderwood.org

Removing message_raw_header prefix from field names

2019-07-15 Thread Zheng Lin Edwin Yeo
Hi, When I index EML files to Solr, I realised that there are certain fields which are prefix with message_raw_header (Eg: message_raw_header_x_receiver). There is no message_raw_header prefix in the EML files. Is there any way that we can remove the message_raw_header for all the fields directly

Re: Removing message_raw_header prefix from field names

2019-07-15 Thread Alexandre Rafalovitch
That is probably a configuration in solrconfig.xml for the extract handler. If so, you should be able to modify it easily. Regards, Alex On Mon, Jul 15, 2019, 12:46 PM Zheng Lin Edwin Yeo, wrote: > Hi, > > When I index EML files to Solr, I realised that there are certain fields > which are

Re: Hardware requirements to host Apache Solr application

2019-07-15 Thread Gus Heck
And you could run a small single core on hardware much smaller than the latest smart phones if it didn't have to serve many requests... On Mon, Jul 15, 2019 at 11:24 AM Walter Underwood wrote: > One of our clusters got as large as 40 c4.8xlarge, another is happy with 4 > m4.xlarge and could prob

SolrCloud BACKUP single shard collections

2019-07-15 Thread Will Martin
Hi. I have 8 collections in a 3 node SolrCloud: 6.3 Given the following scenario: 1. preferredleader REPLICAPROP for all collections on core_node2 2. zookeeper->overseer_elect->leader has core_node1 3. BACKUP command always writes to/using core_node1 ??? Notes: 1. all collections have exactl

Upload/use a plugin JAR in ZooKeeper

2019-07-15 Thread Richard Walker
Hi, I'm trying to use a plugin JAR containing a custom query parser. I've been able to get this to work the "simple" way, by putting the JAR in the file system, and specifying basic values in solrconfig.xml. No problem doing it this way. But I'm running in SolrCloud mode and I'd like to t