RE: Is it possible to delete the emails i sent to forum from archive

2016-05-25 Thread G, Rajesh
Thanks Chris CEB India Private Limited. Registration No: U741040HR2004PTC035324. Registered office: 6th Floor, Tower B, DLF Building No.10 DLF Cyber City, Gurgaon, Haryana-122002, India. This e-mail and/or its attachments are intended only for the use of the addressee(s) and may contain

Re: Is it possible to delete the emails i sent to forum from archive

2016-05-25 Thread Chris Hostetter
: Urgent: Please let me know if it is possible to delete the email that is : sent to forms previously and that is archived now in : http://mail-archives.apache.org/mod_mbox/lucene-solr-user/. If possible : please let me know how to delete them. No...

Re(2): How to save index data to other place? [scottchu]

2016-05-25 Thread scott.chu
Thanks! I thought I have to tune solrconfig.xml. scott.chu,scott@udngroup.com 2016/5/26 (週四) - Original Message - From: Jay Potharaju To: solr-user ; scott(自己) CC: Date: 2016/5/26 (週四) 11:31 Subject: Re: How to save index data to other place? [scottchu] use

Re(2): What if adding 3rd node exceeds replication Factor?[scottchu]

2016-05-25 Thread scott.chu
Thanks! Looks like replicationFactor is only a startup parameter. scott.chu,scott@udngroup.com 2016/5/26 (週四) - Original Message - From: Jeff Wartes To: solr-user CC: Date: 2016/5/26 (週四) 00:26 Subject: Re: What if adding 3rd node exceeds replication Factor?[scottchu]

Re: debugging solr query

2016-05-25 Thread Jay Potharaju
Any links that illustrate and talk about solr internals and how indexing/querying works would be a great help. Thanks Jay On Wed, May 25, 2016 at 6:30 PM, Jay Potharaju wrote: > Hi, > Thanks for the feedback. The queries I run are very basic filter queries > with some

Re: Is it possible to delete the emails i sent to forum from archive

2016-05-25 Thread Erick Erickson
No, it's not possible as I know to my chagrin.. On Wed, May 25, 2016 at 8:17 PM, G, Rajesh wrote: > Hi Team, > > Urgent: Please let me know if it is possible to delete the email that is sent > to forms previously and that is archived now in >

Re: How to perform a contains query

2016-05-25 Thread Erick Erickson
Well, there are about 17 ways to do this. OK, I'm exaggerating.. WordDelimiterFilterFactory in a text field (with the appropriate parameters set) will do what you want. Basically it'll index Apache Tomcat (7|0|0|x|whatever) where the tokens indexed are split by any non-alphanumeric in the

Re: How to save index data to other place? [scottchu]

2016-05-25 Thread Jay Potharaju
use property.*dataDir*=*value* https://cwiki.apache.org/confluence/display/solr/Defining+core.properties On Wed, May 25, 2016 at 8:20 PM, scott.chu wrote: > > When I create a collection, say named 'cugna'. Solr create a folder with > same name under server\slolr, e.g.

Re: How to perform a contains query

2016-05-25 Thread Jay Potharaju
You can use the text_en/text_general field type to query those fields. Use the analysis tab to see how querying works. On Wed, May 25, 2016 at 8:16 PM, Carl Roberts wrote: > Hi, > > Sorry to ask this question again but I had some recent issues with SPAM >

How to save index data to other place? [scottchu]

2016-05-25 Thread scott.chu
When I create a collection, say named 'cugna'. Solr create a folder with same name under server\slolr, e.g. /local/solr-5.4.1/server/solr/cugna. Index data is also saved there. But wish to save index data on other folder, say /var/sc_data/cugna. How can I dothis?

Is it possible to delete the emails i sent to forum from archive

2016-05-25 Thread G, Rajesh
Hi Team, Urgent: Please let me know if it is possible to delete the email that is sent to forms previously and that is archived now in http://mail-archives.apache.org/mod_mbox/lucene-solr-user/. If possible please let me know how to delete them. I wanted to remove 1 email thread Thanks

How to perform a contains query

2016-05-25 Thread Carl Roberts
Hi, Sorry to ask this question again but I had some recent issues with SPAM filtering so I don't know if someone responded before or not. Basically I am looking for a way to query a field for a substring in it with functionality similar to what Java String.contains would return: So for

Re: debugging solr query

2016-05-25 Thread Jay Potharaju
Hi, Thanks for the feedback. The queries I run are very basic filter queries with some sorting. q:*:*=(dt1:[date1 TO *] && dt2:[* TO NOW/DAY+1]) && fieldA:abc && fieldB:(123 OR 456)=dt1 asc,field2 asc, fieldC desc I noticed that the date fields(dt1,dt2) are using date instead of tdate fields &

SuggestComponent and edismax type boosting

2016-05-25 Thread james
Hi I'm setting up an autosuggester for Geonames location data with Solr 6.0.0, and have followed something like https://lucidworks.com/blog/2015/03/04/solr-suggester/ I can rank results with "weightField" for population, but I wonder if is it possible to further boost/rank the results based

SolrCloud Shard console shows roughly same number of documents?

2016-05-25 Thread Siddhartha Singh Sandhu
Hi, I recently moved to a SolrCloud config. I had a few questions: Q1. Does a shard show cumulative number of documents or documents present in that particular shard on the admin console of respective shard? Q2. If 1's answer is non-cumulative then my shards(on different servers) are indexing

Re: Config API: delete-requesthandler

2016-05-25 Thread Jan Høydahl
Hi Have you tried adding all your commands to the same file? { "add-requesthandler":{"name":"/foo","class":"solr.SearchHandler"}, "add-requesthandler":{"name":"/bar","class":"solr.SearchHandler"}, "add-requesthandler":{"name":"/baz","class":"solr.SearchHandler"} } -- Jan Høydahl, search

how to split /mlt to multiple replicas.

2016-05-25 Thread CrazyDiamond
i know that MoreLikeThisHandler is not working on multishards solrcloud setup, bcs it only returns documents where the source document is found. but i want just to split load over 2 replicas of the same shard, but when i run query it runs only on replica to which i send request. i tried to add

Facet data type

2016-05-25 Thread Steven White
Hi everyone, I will be faceting on data of type integers and I'm wonder if there is any difference on how I design my schema. I have no need to sort or use range facet, given this, in terms of Lucene performance and index size, does it make any difference if I use: #1: Or #2: (notice how I

Re: What if adding 3rd node exceeds replication Factor? [scottchu]

2016-05-25 Thread Jeff Wartes
SolrCloud never creates replicas automatically, unless perhaps you’re using the HDFS-only autoAddReplicas option. Start the new node using the same ZK, and then use the Collections API (https://cwiki.apache.org/confluence/display/solr/Collections+API) to ADDREPLICA. The replicationFactor you

What if adding 3rd node exceeds replication Factor? [scottchu]

2016-05-25 Thread Scott Chu
I start 2 nodes and a zk ensemble to manager these nodes. Then I create a collection with numShards=1 and replicationFactor=2 on 1st node. It spread onto 2 nodes (meaning 1 leader, 1 replica). Now I want to add 3rd node but don't do splitsharding. Before I try I want to ask some questions: Do I

Re: Upgrading from Solr 5.4.0 to Solr 6.0.0

2016-05-25 Thread Zheng Lin Edwin Yeo
Thanks for the information Shawn. It works when I remove the units parameter entirely. Regards, Edwin On 25 May 2016 at 21:49, Shawn Heisey wrote: > On 5/25/2016 3:54 AM, Zheng Lin Edwin Yeo wrote: > > Thanks for your reply. I have found that the problem is with the > >

Re: question about using JAVA API to post system file to index

2016-05-25 Thread Erick Erickson
This will get you started it should be relatively easy to peel out the database stuff, this example includes both https://lucidworks.com/blog/2012/02/14/indexing-with-solrj/ Best, Erick On Wed, May 25, 2016 at 7:09 AM, jwl wrote: > Hi, >I have learned that we

RE: SolrJ & json.facet?

2016-05-25 Thread Markus Jelsma
Hi - with some crazy casting to a NamedList and List you can finally get a SimpleOrderedMap that contains a bucket you can read. It's a bit tedious but it works fine. Markus -Original message- > From:Bram Van Dam > Sent: Wednesday 25th May 2016 16:48 > To:

Re: Solr cloud with Grouping query gives inconsistent results

2016-05-25 Thread preeti kumari
Hi Mary, Yes the field used for grouping is stored=true. Thanks Preeti On Wed, May 25, 2016 at 7:04 PM, Mary White wrote: > Hi Preeti, > > Do you have stored=true on the field you are trying to query? > > Sent from my iPhone > > > On May 25, 2016, at 8:30 AM, preeti kumari

SolrJ & json.facet?

2016-05-25 Thread Bram Van Dam
Hey folks, Is there any way to use the "new" json.facet features (or some Java equivalent) using SolrJ? I've had a quick look at the source code, but nothing really jumps out at me. Thanks, - Bram

question about using JAVA API to post system file to index

2016-05-25 Thread jwl
Hi, I have learned that we can use post tool to post system file such as pdf, doc, etc to index. But I want to know how can we use JAVA API to finish this process? I can construct one SolrInputDocument and index the specific fields I want to index, anyway or any API is used to post the

Re: Solr cloud with Grouping query gives inconsistent results

2016-05-25 Thread Mary White
Hi Preeti, Do you have stored=true on the field you are trying to query? Sent from my iPhone > On May 25, 2016, at 8:30 AM, preeti kumari wrote: > > Thanks Jeff. Let me try this .I was actually looking for a way without doc > routing. > Do let me know if I can handle

Re: Upgrading from Solr 5.4.0 to Solr 6.0.0

2016-05-25 Thread Shawn Heisey
On 5/25/2016 3:54 AM, Zheng Lin Edwin Yeo wrote: > Thanks for your reply. I have found that the problem is with the > units="degrees" in schema.xml Caused by: java.lang.RuntimeException: > schema fieldtype > location_rpt(org.apache.solr.schema.SpatialRecursivePrefixTreeFieldType) > invalid

Re: Caused by: java.sql.SQLException: Unknown character set index for field '224' received from server. when do DIH [scottchu]

2016-05-25 Thread Shawn Heisey
On 5/24/2016 4:22 AM, scott.chu wrote: > Caused by: java.sql.SQLException: Unknown character set index for field '224'. > > What's does this error message mean? This error message comes either from the MySQL JDBC driver or your MySQL server. Solr is not generating the error, just reporting it.

Re: How to stop searches to solr while full data import is going in SOLR

2016-05-25 Thread preeti kumari
Thanks Jeff and Erick. We figured to do document feeding on other port while previous port is shut down for load balancer. Once done we switch ports of solr. Regards Preeti On Mon, May 23, 2016 at 10:58 PM, Jeff Wartes wrote: > The PingRequestHandler contains support

Re: Solr cloud with Grouping query gives inconsistent results

2016-05-25 Thread preeti kumari
Thanks Jeff. Let me try this .I was actually looking for a way without doc routing. Do let me know if I can handle grouping through queries. Thanks Preeti On Tue, May 24, 2016 at 2:08 AM, Jeff Wartes wrote: > My first thought is that you haven’t indexed such that all

Even if my solr has the document id , solr cloud query gives no result

2016-05-25 Thread preeti kumari
Hi, I am using solr 5.2.1 cloud version I am facing an issue. >From client the query which goes to solr is :q=(sysid:11382) But in my solr logs i can see the actual query getting fired is : ids=0323_00011382=false=javabin=2=1=1464177290469=

Re: Faceting and Grouping Performance Degradation in Solr 5

2016-05-25 Thread Alessandro Benedetti
I am investigating this scenario right now. I can confirm that the enum slowness is in Solr 6.0 as well. And I agree with Joel, it seems to be un-related with the famous faceting regression :( Furthermore with the legacy facet approach, if you set docValues for the field you are not going to be

Re: Upgrading from Solr 5.4.0 to Solr 6.0.0

2016-05-25 Thread Zheng Lin Edwin Yeo
Thanks for your reply. I have found that the problem is with the units="degrees" in schema.xml Caused by: java.lang.RuntimeException: schema fieldtype location_rpt(org.apache.solr.schema.SpatialRecursivePrefixTreeFieldType) invalid arguments:{units=degrees} at

Re: Auto Suggestion in solr

2016-05-25 Thread Alessandro Benedetti
Mugeesh, just remember that for a worst case scenario and if it applies to your use case, you could be an external Solr Instance for suggesting. Configuring this Solr instance with proper schema definition, analysis and request handler. Normally is not necessary, but again in some scenario could

how can we use multi term search along with stop words

2016-05-25 Thread Preeti Bhat
HI, I am trying to search the field named company_nm with value "Google llc". We have the stopword on "llc", so when I try to search it returns 0 results. Could anyone please guide me through the process of using stopwords in multi term search. Please note I am using solr 6.0.0 and using

Re: Upgrading from Solr 5.4.0 to Solr 6.0.0

2016-05-25 Thread Alessandro Benedetti
>From 5.4.0 to Solr 6 you don't even need to migrate the index. Set up you Solr 6, Start it up Check if Solr is happy ( no schema or solrconfig exception in the log) Stop Solr Copy the index Start Solr and do a commit/optimize and the index should be up to date. Let me know if you find any

Re: [Solr 6] Migration from Solr 4.10.2

2016-05-25 Thread Alessandro Benedetti
I was taking a look into the code again : org/apache/solr/search/facet/FacetField.java:115 ( branch 6.0 ) if (!multiToken) { > if (ntype != null) { > // single valued numeric (docvalues or fieldcache) > return new FacetFieldProcessorNumeric(fcontext, this, sf); > } else { > // single valued

Upgrading from Solr 5.4.0 to Solr 6.0.0

2016-05-25 Thread Zheng Lin Edwin Yeo
Hi, I'm in the process of upgrading from Solr 5.4.0 to Solr 6.0.0. However, when I migrate the index over, it says that there is Error loading solr config from solrconfig.xml. Is there is anything that is not comparable from Solr 5.4.0 which may causes this? I have changed the