Re: requesting help to solve an issue

2020-04-09 Thread Sandeep Dharembra
anted tlogs and another port where I wanted pull types. Then set the policies accordingly and it is working for me. You can try something similar if you like or if someone else replies, I can also benefit from it. Thanks, Sandeep On Thu, Apr 9, 2020, 10:36 AM saicharan.k...@spglobal.co

Re: requesting help to solve an issue

2020-04-08 Thread Sandeep Dharembra
Hi, You have used ! - not operator, so, the replicas would be created on all nodes not having that property value (typeahead) Thanks On Wed, Apr 8, 2020, 4:21 PM saicharan.k...@spglobal.com < saicharan.k...@spglobal.com> wrote: > Hi there, > > We are trying to apply the following collection sp

Re: All shards placed on the same node

2020-04-05 Thread Sandeep Dharembra
Hey, Please change the precision in cluster preference for core to 1 instead of 10 and then give a try. With current settings, 2 nodes are not treated different till they have a difference of 10 cores. Thanks, On Mon, Apr 6, 2020, 2:09 AM Kudrettin Güleryüz wrote: > Hi, > > Running 7.3.1 on

Re: auotscaling tlog+pull and replicationFactor

2020-04-02 Thread Sandeep Dharembra
I am not sure whether you have added triggers for nodelost and nodeadd events Action is taken based on triggers which have the execute plan. You can move create replicas and also delete node in these triggers. One more thing, since you are using solr 7.7 if you add move replica action to the nod

Fwd: Issue With Autoscaling

2020-03-04 Thread Sandeep Dharembra
hards get added to the just added node. We would like to avoid the hardcoding of numbers and percentage and want to restrict tlogs to certain nodes which would not be serving read requests via specifying preferred replicas for serving requests (more like master slave architecture of solr 4.X we currentl

Disastor Scenario Question Regarding Tlog+pull solrcloud setup

2020-03-04 Thread Sandeep Dharembra
as in solrcloud mode temporarily while we populate the index on tlogs. We can do this in legacy mode We understand that we can have multiple tlogs as replicas to solve this but wanted to know how we can stop this replication. Thanks, Sandeep

Re: SolrJ doesn't work with Json facet api

2017-01-05 Thread Sandeep Khanzode
For me, these variants have worked ... solrQuery.add("json.facet", "..."); solrQuery.setParam("json.facet", "...");   You get ... QueryResponse.getResponse().get("facets"); SRK On Thursday, January 5, 2017 1:19 PM, Jeffery Yuan wrote: Thanks for your response. We definitely use solrQ

Collection API CREATE creates name like '_shard1_replica1'

2016-12-14 Thread Sandeep Khanzode
Hi, I uploaded (upconfig) config (schema and solrconfig XMLs) to Zookeeper and then linked (linkconfig) the confname to a collection name. When I attempt to create a collection using the API like this .../solr/admin/collections?action=CREATE&name=abc&numShards=1&collection.configName=abc   ... it

Re: Query parser behavior with AND and negative clause

2016-11-25 Thread Sandeep Khanzode
59:00],detailLevel=9,prefixGridScanLevel=7))  SRK On Thursday, November 24, 2016 9:02 PM, Alessandro Benedetti wrote: Hey Sandeep, can you debug the query ( debugQuery=on) and show how the query is parsed ? Cheers On Thu, Nov 24, 2016 at 12:38 PM, Sandeep Khanzode < sandeep_kha

Re: Wildcard searches with space in TextField/StrField

2016-11-25 Thread Sandeep Khanzode
something in the syntax.  SRK On Thursday, November 24, 2016 11:16 PM, Sandeep Khanzode wrote: Hi All, Erick, Please suggest. Would like to use the ComplexPhraseQueryParser for searching text (with wildcard) that may contain special characters. For example ...John* should match John V

Re: Wildcard searches with space in TextField/StrField

2016-11-24 Thread Sandeep Khanzode
. Doe SRK On Thursday, November 24, 2016 5:57 PM, Sandeep Khanzode wrote: Hi, This is the typical TextField with ...                         SRK     On Thursday, November 24, 2016 1:38 AM, Reth RM wrote: what is the fieldType of those records?   On Tue, Nov 22, 2016 at 4:18 AM

Re: Query parser behavior with AND and negative clause

2016-11-24 Thread Sandeep Khanzode
Z]'})  SRK On Tuesday, November 22, 2016 9:41 PM, Erick Erickson wrote: _How_ does it "not work"? You haven't told us what you expect .vs. what you get back. Plus a sample doc that that violates your expectations (just the dateRange field) would also help. Best, Eri

Re: Wildcard searches with space in TextField/StrField

2016-11-24 Thread Sandeep Khanzode
Hi, This is the typical TextField with ...                         SRK On Thursday, November 24, 2016 1:38 AM, Reth RM wrote: what is the fieldType of those records?   On Tue, Nov 22, 2016 at 4:18 AM, Sandeep Khanzode wrote: Hi Erick, I gave this a try.  These are my results

Query parser behavior with AND and negative clause

2016-11-22 Thread Sandeep Khanzode
Hi, I have a simple query that should intersect with dateRange1 and NOT be contained within dateRange2. I have tried the following options: WORKS: +{!field f=dateRange1 op=Intersects v='[2016-11-22T12:01:00Z TO 2016-11-22T13:59:00Z]'} +(*:* -{!field f=dateRange2 op=Contains v='[2016-11-22T12:01

Re: Wildcard searches with space in TextField/StrField

2016-11-22 Thread Sandeep Khanzode
r=true}name:"John D S*" ... fetches that record.  SRK On Sunday, November 13, 2016 7:43 AM, Erick Erickson wrote: Right, for that kind of use case you want complexPhraseQueryParser, see: https://cwiki.apache.org/confluence/display/solr/Other+Parsers#OtherParsers-ComplexPhraseQu

Re: Basic Auth for Solr Streaming Expressions

2016-11-16 Thread sandeep mukherjee
streaming expressions. ThanksSandeep On Wednesday, November 16, 2016 8:22 AM, sandeep mukherjee wrote: blockquote, div.yahoo_quoted { margin-left: 0 !important; border-left:1px #715FFA solid !important; padding-left:1ex !important; background-color:white !important; }  Nope never got

Re: Basic Auth for Solr Streaming Expressions

2016-11-16 Thread sandeep mukherjee
cket for this. > > Joel Bernstein > http://joelsolr.blogspot.com/ > > On Wed, Nov 9, 2016 at 6:23 PM, sandeep mukherjee < > wiredcit...@yahoo.com.invalid> wrote: > > > I have more progress since my last mail. I figured out that  in the > > StreamContext object ther

Re: Wildcard searches with space in TextField/StrField

2016-11-12 Thread Sandeep Khanzode
l be pretty good though. In all this sounds like an XY problem, what's the use-case you're trying to solve? Best, Erick On Thu, Nov 10, 2016 at 10:11 PM, Sandeep Khanzode wrote: > Hi Erick, Reth, > > The 'a\ b*' as well as the q.op=AND approach worked (successfu

Re: Wildcard searches with space in TextField/StrField

2016-11-10 Thread Sandeep Khanzode
i.apache.org/confluence/display/solr/Other+Parsers#OtherParsers-ComplexPhraseQueryParser > > On Thu, Nov 10, 2016 at 11:40 AM, Sandeep Khanzode < > sandeep_khanz...@yahoo.com.invalid> wrote: > >> Hi, >> How does a search like abc* work in StrField. Since the entire thi

Wildcard searches with space in TextField/StrField

2016-11-10 Thread Sandeep Khanzode
Hi, How does a search like abc* work in StrField. Since the entire thing is stored as a single token, is it a type of a trie structure that allows such wildcard matching?  How can searches with space like 'a b*' be executed for text fields (tokenized on whitespace)? If we specify this type of qu

Re: Basic Auth for Solr Streaming Expressions

2016-11-09 Thread sandeep mukherjee
me know if there is a better way to enable Basic Auth when using StreamFactory as mentioned in my previous email. Thanks much,Sandeep On Wednesday, November 9, 2016 11:44 AM, sandeep mukherjee wrote: Hello everyone, I trying to find the documentation for Basic Auth plugin for Solr

Re: solrj Https problem

2016-11-09 Thread sandeep mukherjee
g "-h localhost". -Bryan On Mon, Oct 31, 2016 at 1:05 PM, sandeep mukherjee < wiredcit...@yahoo.com.invalid> wrote: > I followed the steps to make the solr SSL enabled. I'm able to hit solr > at: https://localhost:8985/solr/problem/select?indent=on&q=*:*&wt=json And &

Basic Auth for Solr Streaming Expressions

2016-11-09 Thread sandeep mukherjee
Hello everyone, I trying to find the documentation for Basic Auth plugin for Solr Streaming expressions. But I'm not able to find it in the documentation anywhere. Could you please point me in right direction of how to enable Basic auth for Solr Streams? I'm creating StreamFactory as follows: I

solrj Https problem

2016-10-31 Thread sandeep mukherjee
I followed the steps to make the solr SSL enabled. I'm able to hit solr at: https://localhost:8985/solr/problem/select?indent=on&q=*:*&wt=json And for accessing it through Solr Client I created it as follows:System.setProperty("javax.net.ssl.keyStore", "/path/to/solr/server/etc/solr-ssl.keystor

Re: -field1:value1 OR field2:value2

2016-09-26 Thread Sandeep Khanzode
atures/fixes > with OR, I think. > > Regards, >  Alex. > > Newsletter and resources for Solr beginners and intermediates: > http://www.solr-start.com/ > > > On 26 September 2016 at 16:56, Sandeep Khanzode > wrote: >> Hi Alex, >> It seems

Re: -field1:value1 OR field2:value2

2016-09-26 Thread Sandeep Khanzode
:09 PM, Sandeep Khanzode wrote: Yup. That works. So does (*:* NOT ...) Thanks, Alex.  SRK     On Monday, September 26, 2016 3:03 PM, Alexandre Rafalovitch wrote: Try field2:value2 OR (*:* -field1=value1) There is a magic in negative query syntax that breaks down when it gets more

Re: -field1:value1 OR field2:value2

2016-09-26 Thread Sandeep Khanzode
n the mailing list a bunch of times, though the discussions are hard to find by title. Regards,     Alex. Newsletter and resources for Solr beginners and intermediates: http://www.solr-start.com/ On 26 September 2016 at 16:06, Sandeep Khanzode wrote: > Hi, > If I query for > -field1=va

-field1:value1 OR field2:value2

2016-09-26 Thread Sandeep Khanzode
Hi, If I query for  -field1=value1 ... I get, say, 100 records and if I query for  field2:value2 ... I may get 200 records I would assume that if I query for  -field1:value1 OR field2:value2 ... I should get atleast 100 records (assuming they overlap, if not, upto 300 records). I am assuming tha

Re: JSON Facet API

2016-09-21 Thread Sandeep Khanzode
Thanks a lot, Bram. I will try that ...  SRK On Wednesday, September 21, 2016 11:57 AM, Bram Van Dam wrote: On 21/09/16 05:40, Sandeep Khanzode wrote: > How can I specify JSON Facets in SolrJ? The below facet query for example ... SolrQuery query = new SolrQuery(); query.

Re: Negative Date Query for Local Params in Solr

2016-09-20 Thread Sandeep Khanzode
reference to this stuff is: > > https://cwiki.apache.org/confluence/display/solr/Local+Parameters+in+Queries > But that page doesn't address the implications for when the syntax is a > clause of a larger query instead of being the whole query (i.e. has "{!"... > but but

JSON Facet API

2016-09-20 Thread Sandeep Khanzode
Hello, How can I specify JSON Facets in SolrJ? The below facet query for example ...  &json.facet={  facet1: {  type: query,  q: "field1:value1 AND field2:value2",  facet:  {  facet1sub1: { type: query,  q: "{!field f=mydate op=Intersects}2016-09-08T08:00:00",  facet:  {  id:  {  type:

Re: Negative Date Query for Local Params in Solr

2016-09-20 Thread Sandeep Khanzode
ead need to put it in the special "v" local-param.  e.g.: -{!field f=schedule op=Contains v='[2016-08-26T12:00:12Z TO 2016-08-26T15:00:12Z]'} On Tue, Sep 20, 2016 at 8:15 AM Sandeep Khanzode wrote: > This is what I get ... > { "responseHeader": { "status

Re: Negative Date Query for Local Params in Solr

2016-09-20 Thread Sandeep Khanzode
json", "_": "1474373612202" } }, "error": { "msg": "Invalid Date in Date Math String:'[2016-08-26T12:00:12Z'", "code": 400 }}  SRK On Tuesday, September 20, 2016 5:34 PM, David Smiley wrote: It should, I think...

Negative Date Query for Local Params in Solr

2016-09-20 Thread Sandeep Khanzode
For Solr 6.1.0 This works .. -{!field f=schedule op=Intersects}2016-08-26T12:00:56Z This works .. {!field f=schedule op=Contains}[2016-08-26T12:00:12Z TO 2016-08-26T15:00:12Z] Why does this not work?-{!field f=schedule op=Contains}[2016-08-26T12:00:12Z TO 2016-08-26T15:00:12Z]  SRK

How to set NOT clause on Date range query in Solr

2016-09-20 Thread Sandeep Khanzode
Have been trying to understand this for a while ...How can I specify NOT clause in the following query?{!field f=schedule op=Intersects}[2016-08-26T12:30:00Z TO 2016-08-26T18:30:00Z]{!field f=schedule op=Contains}[2016-08-26T12:30:00Z TO 2016-08-26T18:30:00Z]Like, without LocalParams, we can spe

Re: Solr DateRange Query with AND and different op types

2016-09-19 Thread Sandeep Khanzode
Hi, Can someone please reply to my query? Let me know if it is not understandable. Thanks. SRK On Monday, September 19, 2016 6:00 PM, Sandeep Khanzode wrote: Hi, Can I not query like this? {!field f=schedule1 op=Contains}[1988-10-22T18:30:00Z TO *] AND -schedule3:[1988-10-22T18:30

Solr DateRange Query with AND and different op types

2016-09-19 Thread Sandeep Khanzode
Hi, Can I not query like this? {!field f=schedule1 op=Contains}[1988-10-22T18:30:00Z TO *] AND -schedule3:[1988-10-22T18:30:00Z TO *] AND -schedule2:[1988-10-22T18:30:00Z TO *] I keep getting parsing and date math related errors. If I change it to ...schedule1:[1988-10-22T18:30:00Z TO *] AND -sc

Custom Function-based Fields

2016-09-08 Thread Sandeep Khanzode
Hi, Can someone please direct me to some documentation that shows how to do this ... ? I need to write a non-trivial function that will return a new custom (not in schema) field but which is more complicated than a simple sum/avg/etc.  I want to create a function that looks at a few dateranges in

Re: StrField with Wildcard Search

2016-09-08 Thread Sandeep Khanzode
, Sandeep Khanzode wrote: Hello, There are quite a few links that detail the difference between StrField and TextField. Also links that explain that, even though the field is indexed, it is not tokenized and stored as a single keyword, as can be verified by the debug analysis on Solr admin and

StrField with Wildcard Search

2016-09-08 Thread Sandeep Khanzode
Hello, There are quite a few links that detail the difference between StrField and TextField. Also links that explain that, even though the field is indexed, it is not tokenized and stored as a single keyword, as can be verified by the debug analysis on Solr admin and CURL debugQuery options. Wh

Re: Sorting in solr

2016-07-11 Thread Sandeep Mestry
results* in either ascending (asc) or descending (desc) order. Thanks, Sandeep On 11 July 2016 at 11:13, Naveen Pajjuri wrote: > Hi, > If i apply some sorting order on solr. when are the Documents sorted. > >1. are documents sorted after fetching the results ? >2. or

Re: Many to Many Mapping with Solr

2016-05-01 Thread Sandeep Mestry
e to add, do let me know. I will be grateful. Many Thanks, Sandeep On 29 April 2016 at 14:54, Joel Bernstein wrote: > We really still need to know more about your use case. In particular what > types of questions will you be asking of the data? It's useful to do this > in plain engl

Many to Many Mapping with Solr

2016-04-29 Thread Sandeep Mestry
ulation will be faster. Any guidance will be good.. Thanks, Sandeep

issue with query boost using qf and edismax

2015-07-21 Thread sandeep bonkra
ct of:\n 0.09805807 = (MATCH) sum of:\n0.09805807 = (MATCH) ConstantScore(person_full_name:*louis*), product of:\n 1.0 = boost\n 0.09805807 = queryNorm\n 0.125 = coord(1/8)\n", "11470331": "\n0.012257258 = (MATCH) product of:\n 0.09805807 = (MATCH) sum of:\n0.09805807 = (MATCH) ConstantScore(person_full_name:*louis*), product of:\n 1.0 = boost\n 0.09805807 = queryNorm\n 0.125 = coord(1/8)\n" }, SO THE ISSUE IS THAT SOMETIMES IT IS TAKING FILTER BUT NOT ALWAYS. What could be the reason. Here is tokenizer and fileter I am using: Any help on this would be appriciable. Thanks, Sandeep

How to split using multiple parameters

2015-06-12 Thread Sandeep Mellacheruvu
"start": "September 2014", "location": "Santiago, Chile", "duration": "6 months", "organization": [ { "name": "SAP", "profile_url": "http://www.linkedin.com/company/1115"; } ] } ], "education": [ { "start": "2010", "end": "2011", "name": "Universidad Adolfo Ibáñez", "degrees": [ "Master en Innovación" ] } ] } Thanks, Sandeep

Solr 4.10.3 annotations on nested objects

2015-02-09 Thread Sandeep Jangra
Hello, I have Java beans with parent-child relation that I am trying to index using @Field annotation (copying the sample code below). I see that https://issues.apache.org/jira/browse/SOLR-1945 is open. Is there any other way or document that describes how to use solrj annotations to index ne

RE: SolrCould read-only replicas

2014-10-02 Thread Sandeep Tikoo
accomplish the read-only replica of the entire solr cloud cluster? Thanks! Tikoo From: Sandeep Tikoo Sent: Saturday, September 27, 2014 9:43 PM To: 'solr-user@lucene.apache.org' Subject: SolrCould read-only replicas Hi- I have been reading up on SolrCloud and it seems that it is not

SolrCould read-only replicas

2014-09-27 Thread Sandeep Tikoo
Hi- I have been reading up on SolrCloud and it seems that it is not possible to have a cross-datacenter read-only slave anymore but wanted to ask here to be sure. We currently have a pre Solr 4.0 installation with the master instance in our US mid-west datacenter. The datacenter in Europe has r

Re: Is there any sentence tokenizers in sold 4.9.0?

2014-09-11 Thread Sandeep B A
and analyzer but was trying to view if solr has any inbuilt libraries, so that no cross language integration might be required. Again Wil get back if something works or not works. @susheel, Thanks will try to see if that works. Thanks, Sandeep. On Sep 8, 2014 12:54 PM, "Sandeep B A" wr

Re: Is there any sentence tokenizers in sold 4.9.0?

2014-09-08 Thread Sandeep B A
to do it? Is it possible to integrate nltk for solr? If yes how to do it? Because I found sentence tokenizers for English in nltk. Thanks, Sandeep On Sep 5, 2014 8:10 PM, "Sandeep B A" wrote: > Sorry for typo it is solr 4.9.0 instead of sold 4.9.0 > On Sep 5, 2014 7:48 PM,

Re: Is there any sentence tokenizers in sold 4.9.0?

2014-09-05 Thread Sandeep B A
Sorry for typo it is solr 4.9.0 instead of sold 4.9.0 On Sep 5, 2014 7:48 PM, "Sandeep B A" wrote: > Hi, > > I was looking out the options for sentence tokenizers default in solr but > could not find it. Does any one used? Integrated from any other language > tokenizer

Is there any sentence tokenizers in sold 4.9.0?

2014-09-05 Thread Sandeep B A
Hi, I was looking out the options for sentence tokenizers default in solr but could not find it. Does any one used? Integrated from any other language tokenizers to solr. Example python etc.. Please let me know. Thanks and regards, Sandeep

solr in classic asp project

2014-08-07 Thread Sandeep Bohra
I am using an classic ASP 3.0 application and would like to implement SOLR onto it. My database is SQL server and also it connects to AS/400 using batch processing. Can someone suggest a starting point? *RegardsSandeep*

Re: Solr subset searching in 100-million document index

2013-10-24 Thread Sandeep Gupta
Hi Joel, Thanks a lot for the information - I haven't worked with PostFilter's before but found an example at http://java.dzone.com/articles/custom-security-filtering-solr. Will try it over the next few days and come back if still have questions. Thanks again! Keep Walking, ~ Sa

Solr subset searching in 100-million document index

2013-10-24 Thread Sandeep Gupta
, we can throw more hardware to the index - but the index will still be only on a single machine for atleast 6 months. Regards, Sandeep Gupta

Re: Class name of parsing the fq clause

2013-10-23 Thread Sandeep Gupta
Yes.. it is not related to this particular mail thread. I will post separate mail. Thanks Sandeep On Wed, Oct 23, 2013 at 4:36 PM, Jack Krupansky wrote: > Not in just a few words. Do you have specific questions? I mean none of > that relates to parsing of fq, the topic of this particular

Re: Class name of parsing the fq clause

2013-10-23 Thread Sandeep Gupta
Thanks Jack for detailing out the parser logic. Would it be possible for you to say something more about filter cache code flow... sometimes we do not use fq parameter in query string and pass the raw query Regards Sandeep On Mon, Oct 21, 2013 at 7:11 PM, Jack Krupansky wrote: > St

Fwd: Searching within list of regions with 1:1 document-region mapping

2013-10-18 Thread Sandeep Gupta
to the index - but the index will still be only on a single machine for atleast 6 months. Best Regards, Sandeep Gupta

Synonyms with wildcard search

2013-07-30 Thread Sandeep Gupta
ith wild card) then search result is not returning the keyword of type colorology... (as in case If I use color* then I am getting this word) So any suggestions as how I can achieve this Or its not possible. Thanks Sandeep

Re: HTTP Status 503 - Server is shutting down

2013-07-17 Thread Sandeep Gupta
starting of tomcat read this file after host-manager.xml Thanks -Sandeep On Wed, Jul 17, 2013 at 3:40 PM, PeterKerk wrote: > I can now approach http://localhost:8080/solr-4.3.1/#/, thanks!! > > I also noticed you mentioning something about a data import handler. > > Now,

Re: solr 4.3.1 Installation

2013-07-16 Thread Sandeep Gupta
This problem looks to me because of solr logging ... see below detail description (taken one of the mail thread) - Solr 4.3.0 and later does not have ANY slf4j jarfiles in the .war file, so you need to put them in your

Re: Book contest idea - feedback requested

2013-07-15 Thread Sandeep Gupta
Hi Alex, great please go ahead.. -Sandeep On Tue, Jul 16, 2013 at 9:40 AM, Ali, Saqib wrote: > Hello Alex, > > This sounds like an excellent idea! :) > > Saqib > > > On Mon, Jul 15, 2013 at 8:11 PM, Alexandre Rafalovitch > wrote: > > > Hello, > > >

Re: HTTP Status 503 - Server is shutting down

2013-07-15 Thread Sandeep Gupta
T_HOME\lib dir, but for logging mechanism I have to do. I tried to put all the 5 jars into this folder and removed from TOMCAT lib.. but then I got the error. In Ideal scenario, we should not put all the jar files related to solr into TOMCAT lib dir Regards Sandeep On Mon, Jul 15, 2013 at

Re: Newbie SolR - Need advice

2013-07-03 Thread Sandeep Mestry
SQL. That's the best starting point. > > > -- Jack Krupansky > > -Original Message- From: fabio1605 > Sent: Wednesday, July 03, 2013 4:55 AM > To: solr-user@lucene.apache.org > Subject: Re: Newbie SolR - Need advice > > > Hi Sandeep > > Thank you

Re: Newbie SolR - Need advice

2013-07-02 Thread Sandeep Mestry
s to match the results that you're currently getting from the database. There is lots of info available for Solr on web and do check Lucidworks' Solr Reference Guide. http://docs.lucidworks.com/display/solr/Apache+Solr+Reference+Guide;jsessionid=16ED0DB3B6F6BE8CEC6E6CDB207DBC49 Best of

Re: Newbie SolR - Need advice

2013-07-02 Thread Sandeep Mestry
t *is* going to be a bumpy ride at the start but *definitely* a sensational one. Good Luck, Sandeep On 2 July 2013 17:09, fabio1605 wrote: > Thanks guys > > So SolR is actually a database replacement for mssql... Am I right > > > We have a lot of perl scripts that contain

Re: Dot operater issue.

2013-06-27 Thread Sandeep Mestry
g to your question. 1) field definition in schema.xml 2) solr query url 3) parser config from solrconfig.xml Thanks, Sandeep On 27 June 2013 10:41, Srinivasa Chegu wrote: > Hi team, > > When the user enter search term as "h.e.r.b.a.l" in the search textbox > and click on

Re: Need Help in migrating Solr version 1.4 to 4.3

2013-06-27 Thread Sandeep Gupta
ou did the same migration. Thanks Sandeep On Thu, Jun 27, 2013 at 1:33 PM, Upayavira wrote: > I have done this - upgraded a 1.4 index to 3.x then on to 4.x. It > worked, but... > > New field types have been introduced over time that facilitate new > functionality. To co

Re: Need Help in migrating Solr version 1.4 to 4.3

2013-06-26 Thread Sandeep Gupta
lots of people (in this mailing list) will have practical experience as which type of singleton pattern need to be implement for creation of SolrServer object. Waiting for some comments in this front ? Regards Sandeep On Wed, Jun 26, 2013 at 9:20 PM, Shawn Heisey wrote: > On 6/25/2013 11:52

Re: Need Help in migrating Solr version 1.4 to 4.3

2013-06-25 Thread Sandeep Gupta
/solr/Solrj#HttpSolrServer) So I am planning to have my Server class as singleton. Please advice little bit in this front also. Regards Sandeep On Tue, Jun 25, 2013 at 11:16 PM, André Widhani wrote: > fwiw, I can confirm that Solr 4.x can definitely not read indexes created > with 1.4. > &

Re: Need Help in migrating Solr version 1.4 to 4.3

2013-06-25 Thread Sandeep Gupta
/solr/Solrj#HttpSolrServer) So I am planning to have my Server class as singleton. Please advice little bit in this front also. Regards Sandeep On Tue, Jun 25, 2013 at 11:16 PM, André Widhani wrote: > fwiw, I can confirm that Solr 4.x can definitely not read indexes created > with 1.4. > &

Need Help in migrating Solr version 1.4 to 4.3

2013-06-24 Thread Sandeep Gupta
create Solr server object via CommonsHttpSolrServer() so I am planning to use now HttpSolrServer API> Please let me know the suggestion for above points also what are the other factors I need to take care while considering the migration. Regards Sandeep

Re: Solr 4.2.1 + Distribution scripts (rsync) Issue

2013-06-05 Thread Sandeep Mestry
rkaround was to add _version_ field in schema, which I had done but no luck. I know it might be unrelated but I am just trying all my options. Thanks again, Sandeep On 5 June 2013 00:41, Chris Hostetter wrote: > > : However, we haven't yet implemented SolrCloud and still relying on

Solr 4.2.1 + Distribution scripts (rsync) Issue

2013-06-04 Thread Sandeep Mestry
s for the upgrade in solrconfig.xml and is pasted below. Please can someone take a look and let me know what the issue is. The same config was working fine on Solr 4.0 (as well as Solr 1.4.1). Thanks, Sandeep p.s: We'll be upgrading to SolrCloud in the next release of the project but this relea

Re: Solr Faceting doesn't return values.

2013-05-23 Thread Sandeep Mestry
*org.apache.solr.search.SyntaxError: Cannot parse '*mm_state_code:(**TX)*': Encountered " ":" ": "" at line 1, column 14. Was expecting one of:* This suggests to me that you kept the df parameter in the query hence it was forming mm_state_code:mm_state_code:(TX), can you try exactly they way I gav

Re: Solr Faceting doesn't return values.

2013-05-22 Thread Sandeep Mestry
>From the response you've mentioned it appears to me that the query term TX is searched against sa_site_city instead of mm_state_code. Can you try your query like below: http://xx.xx.xx.xx/solr/collection1/select?q=*mm_state_code:(**TX)* &wt=xml&indent=true&facet=true&facet.field=sa_site_city&debu

Re: filter query by string length or word count?

2013-05-22 Thread Sandeep Mestry
I doubt if there is any straight out of the box feature that supports this requirement, you will probably need to handle this at the index time. You can play around with Function Queries http://wiki.apache.org/solr/FunctionQuery for any such feature. On 22 May 2013 16:37, Sam Lee wrote: > I ha

Re: Solr Faceting doesn't return values.

2013-05-22 Thread Sandeep Mestry
x27;t mentioned which field you want to search against. That field should be defined in df parameter instead of sa_property_id. Can you post example solr document you're indexing? -Sandeep On 22 May 2013 14:28, samabhiK wrote: > Ok my bad. > > I do have a default field defined

Re: Solr 4.0 war startup issue - apache-solr-core.jar Vs solr-core

2013-05-22 Thread Sandeep Mestry
Thanks Erick for your suggestion. Turns out I won't be going that route after all as the highlighter component is quite complicated - to follow and to override - and not much time left in hand so did it the manual (dirty) way. Beat Regards, Sandeep On 22 May 2013 12:21, Erick Erickson

Re: Boosting Documents

2013-05-22 Thread Sandeep Mestry
ifferent types but only > one value is indexed in them (so no multiValue is required and it works > perfectly). > > > > > On 05/22/2013 11:18 AM, Sandeep Mestry wrote: > >> Did you use the debugQuery=true in solr console to see how the query is >> being interpret

Re: Boosting Documents

2013-05-22 Thread Sandeep Mestry
/> > > > Id > **Suggestion >| > > My query is somthing like : Suggestion:"Olive Oil". > > The result is 9 documents, wich all has the same score "11.287682", even > if they had been indexed with

Re: Boosting Documents

2013-05-22 Thread Sandeep Mestry
> In my case where I only need to boost the whole document (not a specific > field), do I have to activate the << omitNorms="false" >> for all the > fields in the schema ? > > > > > On 05/22/2013 10:41 AM, Oussama Jilal wrote: > >> Thank you

Re: Boosting Documents

2013-05-22 Thread Sandeep Mestry
is not clear from your message is whether you need better scoring or better sorting. so, additionally, you can consider adding a secondary sort parameter for the docs having the same score. http://wiki.apache.org/solr/CommonQueryParameters#sort HTH, Sandeep On 22 May 2013 09:21, Oussama Jilal

Re: Solr 4.0 war startup issue - apache-solr-core.jar Vs solr-core

2013-05-21 Thread Sandeep Mestry
hanks, Sandeep On 21 May 2013 16:46, Steve Rowe wrote: > The 4.0 solr-core jar is available in Maven Central: < > http://search.maven.org/#artifactdetails%7Corg.apache.solr%7Csolr-core%7C4.0.0%7Cjar > > > > Steve > > On May 21, 2013, at 11:26 AM, Sandeep Mestry wrote:

Re: Solr 4.0 war startup issue - apache-solr-core.jar Vs solr-core

2013-05-21 Thread Sandeep Mestry
Hi Steve, Solr 4.0 - mentioned in the subject.. :-) Thanks, Sandeep On 21 May 2013 14:58, Steve Rowe wrote: > Sandeep, > > What version of Solr are you using? > > Steve > > On May 21, 2013, at 6:55 AM, Sandeep Mestry wrote: > > > Hi Shawn, > > > &

Re: Solr 4.0 war startup issue - apache-solr-core.jar Vs solr-core

2013-05-21 Thread Sandeep Mestry
wever I do not think this is the ideal solution. Thanks, Sandeep On 20 May 2013 15:18, Shawn Heisey wrote: > On 5/20/2013 8:01 AM, Sandeep Mestry wrote: > > And I do remember the discussion on the forum about dropping the name > > *apache* from solr jars. If that's what c

Solr 4.0 war startup issue - apache-solr-core.jar Vs solr-core

2013-05-20 Thread Sandeep Mestry
e-solr-core.jar? Many Thanks, Sandeep

Re: Highlight only when all keywords match

2013-05-20 Thread Sandeep Mestry
Thanks Upayavira for that valuable suggestion. I believe overriding highlight component should be the way forward. Could you tell me if there is any existing example or which methods I should particularly override? Thanks, Sandeep On 20 May 2013 12:47, Upayavira wrote: > If you are say

Re: Highlight only when all keywords match

2013-05-20 Thread Sandeep Mestry
to change my search results, the requirement is only to provide a highlight if a field is matched for all the query terms. Thanks, Sandeep On 20 May 2013 12:02, Jaideep Dhok wrote: > If you know all fields that need to be queried, you can rewrite it as - > (assuming, f1, f2 are the fiel

Re: Highlight only when all keywords match

2013-05-20 Thread Sandeep Mestry
* terms match. Thanks, Sandeep On 20 May 2013 11:40, Jaideep Dhok wrote: > Sandeep, > If you AND all keywords, that should be OK? > > Thanks > Jaideep > > > On Mon, May 20, 2013 at 3:44 PM, Sandeep Mestry > wrote: > > > Dear All, > > > > I have

Highlight only when all keywords match

2013-05-20 Thread Sandeep Mestry
. Any document containing just one or two terms is not a match. Thanks, Sandeep (p.s: I haven't enabled the highlighting feature yet on this config and will be doing so only if that will fulfil the requirement I have mentioned above.)

Re: Question about Edismax - Solr 4.0

2013-05-17 Thread Sandeep Mestry
Hello Jack, Thanks for pointing the issues out and for your valuable suggestion. My preliminary tests were okay on search but I will be doing more testing to see if this has impacted any other searches. Thanks once again and have a nice sunny weekend, Sandeep On 17 May 2013 05:35, Jack

Re: Question about Edismax - Solr 4.0

2013-05-16 Thread Sandeep Mestry
t able to parse a comma with a space. Thanks again Jack, please let me know in case you need more inputs from my side. Best Regards, Sandeep On 16 May 2013 18:03, Jack Krupansky wrote: > Could you show us the full query URL - spaces must be encoded in URL query > parameters. > > A

Re: Question about Edismax - Solr 4.0

2013-05-16 Thread Sandeep Mestry
Why solr is not searching for 10 in that case just like it did when the query was (title:(,10))? - And why other filter queries did not show up (collection:assets) in debug section? Thanks, Sandeep On 16 May 2013 13:57, Jack Krupansky wrote: > You haven't indicated any problem here! W

Question about Edismax - Solr 4.0

2013-05-16 Thread Sandeep Mestry
ets) which appear correctly but they do not appear in case 1 above. I can't make this as part of the query parameter as that needs to be searched against multiple fields. Can someone suggest a fix in this case please. I'm using Solr 4.0. Many Thanks, Sandeep

Solr Sorting Algorithm

2013-05-13 Thread Sandeep Mestry
ses modified merge sort, could you tell me which algorithm solr follows for sorting logic and also if there is any other approach I can take? Many Thanks, Sandeep

Re: commit in solr4 takes a longer time

2013-05-03 Thread Sandeep Mestry
That's not ideal. Can you post solrconfig.xml? On 3 May 2013 07:41, "vicky desai" wrote: > Hi sandeep, > > I made the changes u mentioned and tested again for the same set of docs > but > unfortunately the commit time increased. > > > > -- > View th

Re: commit in solr4 takes a longer time

2013-05-02 Thread Sandeep Mestry
Hi Vicky, I faced this issue as well and after some playing around I found the autowarm count in cache sizes to be a problem. I changed that from a fixed count (3072) to percentage (10%) and all commit times were stable then onwards. HTH, Sandeep On 2 May 2013 16:31, Alexandre Rafalovitch

Re: Exact and Partial Matches

2013-04-30 Thread Sandeep Mestry
> grouping, but I doubt it. > > You'll need two queries I'd guess. > > Best > Erick > > On Mon, Apr 29, 2013 at 9:44 AM, Sandeep Mestry > wrote: > > Dear Experts, > > > > I have a requirement for the exact matches and applying alphabetical &g

Custom sorting of Solr Results

2013-04-30 Thread Sandeep Mestry
uot; /> > > > > > stemEnglishPossessive="0" generateWordParts="1" generateNumberParts="1" > catenateWords="1" catenateNumbers="1" catenateAll="1" splitOnCaseChange="1" > splitOnNumerics="0" preserveOriginal="1" /> > > > > > > > Many Thanks in advance, > Sandeep >

  1   2   >