Re: Indexing CSV data in Multicore setup

2011-07-02 Thread sandeep
> post.jar is used to post xml files. You can use curl to feed csv. > http://wiki.apache.org/solr/UpdateCSV I tried using curl as well to post the CSV data using following command. curl http://localhost:8983/solr/core0/update/csv --data-binary @books.csv -H 'Content-type:text/plain;charset=utf-

Many to Many Mapping with Solr

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

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

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

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

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: 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

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

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

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

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

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

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...

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

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
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

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.

-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: -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

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
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

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

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

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 &

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

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: 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

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: 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: 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: 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

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-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

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
. 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: 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: 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

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: 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

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*

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

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

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

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: 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

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: 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

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: 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. > &

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-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: 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: 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: 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-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: 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: 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: 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: 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,

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

Question on Exact Matches - edismax

2013-04-03 Thread Sandeep Mestry
ss to override idf however I still get documents having partial matches in title and other fields ranking higher than exact match in pg_series_title_ci. Many Thanks, Sandeep

Re: Question on Exact Matches - edismax

2013-04-04 Thread Sandeep Mestry
uot;funny games" and is ranked higher than the document containing the exact matches. I can use the default string data type but then the match will be on exact casing. Thanks, Sandeep On 3 April 2013 22:20, Jan Høydahl wrote: > Can you show us your *_ci field type? Solr does not real

Re: Question on Exact Matches - edismax

2013-04-04 Thread Sandeep Mestry
** * * *Can this copyfield directive be an issue? Should it be other way round or does it matter?* Thanks, Sandeep On 4 April 2013 10:38, Sandeep Mestry wrote: > Hi Jan, > > Thanks for your reply. I have defined string_ci like below: > > omitNorm

Re: Exact matching in Solr 3.6.1

2013-04-25 Thread Sandeep Mestry
d some tuning to get the results at the top. HTH, Sandeep On 25 April 2013 10:33, vsl wrote: > Hi, > is it possible to get exact matched result if the search term is combined > e.g. "cats" AND London NOT Leeds > > > In the previus threads I have read that it is possi

Re: Exact matching in Solr 3.6.1

2013-04-25 Thread Sandeep Mestry
I think in that case, making a field String type is your option, however remember that it'd be case sensitive. Another approach is to create a case insensitive field type and doing searches on those fields only. Can you provide your fie

Re: Exact matching in Solr 3.6.1

2013-04-25 Thread Sandeep Mestry
Agree with Jack. The current field type text_general is designed to match the query tokens instead of exact matches - so it's not able to fulfill your requirements. Can you use flat file as spell check dictionary instead and that way you can sear

Exact and Partial Matches

2013-04-29 Thread Sandeep Mestry
ined as follows: Many Thanks in advance, Sandeep

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 >

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

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: 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

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

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

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

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-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

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: 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

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
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

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: 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

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
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: 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: 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
/> > > > 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
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: 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: 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: 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
>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: 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

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 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

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

SOLR Search Query : Exception : Software caused connection abort

2010-07-15 Thread sandeep kumar
p me and let me know solution to this problem ASAP. Regards Sandeep -- View this message in context: http://lucene.472066.n3.nabble.com/SOLR-Search-Query-Exception-Software-caused-connection-abort-tp969331p969331.html Sent from the Solr - User mailing list archive at Nabble.com.

SOLR Search Query : Exception : Software caused connection abort

2010-07-15 Thread sandeep kumar
p me and let me know solution to this problem ASAP. Regards Sandeep -- View this message in context: http://lucene.472066.n3.nabble.com/SOLR-Search-Query-Exception-Software-caused-connection-abort-tp969444p969444.html Sent from the Solr - User mailing list archive at Nabble.com.

  1   2   >