Re: Verify if solr reload core is successful or not

2014-10-20 Thread Prathik Puthran
What would be the response if the Core reload failed due to incorrect configurations? Thanks, Prathik On Mon, Oct 20, 2014 at 11:24 PM, Ramzi Alqrainy wrote: > when you hit a request in the browser > http://localhost:8983/solr/admin/cores?action=RELOAD&core=core0 > > you will receive this respo

Verify if solr reload core is successful or not

2014-10-20 Thread Prathik Puthran
Hi, How do I verify if Solr core reload is successful or not? I use Solr 4.6. To reload the core I send the below request: http://hostname:7090/solr/admin/cores?action=RELOAD&core=core0&wt=json Also is the above request synchronous ( I mean will the reload happen before the response is recieve

Change the group.field name in the solr response

2014-05-23 Thread Prathik Puthran
Hi, How can I change the field name in the "grouped" section of the solr response. I know for changing the field names in the response where solr returns documents you can make a query with "fl" changed as "fl=mapping1:fieldname1,mapping2:fieldname2" How do I achieve the same thing for "grouping"

Exception while unmarshalling response in SolrJ

2014-04-12 Thread Prathik Puthran
Hi, I am using SolrJ client to send request to Solr. But instead of calling Solr directly SolrJ communicates with my proxy server which in turn calls Solr and gets the response in javabin format and returns back the response to the client in the same format. The proxy server is written using play

Re: Help in resolving the below retrieval issue

2013-09-12 Thread Prathik Puthran
no query > parser option to disable the hyphen as an exlusion operator, although an > upgrade to a "modern" Solr should fix the problem. > > > -- Jack Krupansky > > -Original Message- From: Prathik Puthran > Sent: Tuesday, September 10, 2013 4:13 PM > To

Re: Help in resolving the below retrieval issue

2013-09-10 Thread Prathik Puthran
ier releases had a problem. > > In any case, be careful with leading hyphen in queries since it does mean > exclude documents that contain the following term. > > Or, just escape any leading hyphen with a backslash. > > -- Jack Krupansky > > -Original Messa

Re: Help in resolving the below retrieval issue

2013-09-10 Thread Prathik Puthran
arated tokens > > Try escaping the spaces with backslash. You could also try quoting the > input although > that has some phrase implications. > > Do you really want this search to fail on just searching "rahul" though? > Perhaps > keywordTokenizer isn&

Help in resolving the below retrieval issue

2013-09-10 Thread Prathik Puthran
Hi, I am facing the below issue where in Solr is not retrieving the indexed word for some cases. This happens whenever the indexed word has string " - " (quotes for clarity) as substring i.e word prefix followed by a space which is followed by '-' again followed by a space and followed by the res

Spell check in SOLR

2013-07-02 Thread Prathik Puthran
Hi, How can i configure SOLR to provide corrections for misspelled words. If the query string is in dictionary SOLR should not return any suggestions. But if the query string is not in dictionary SOLR should return all possible corrected words in the dictionary which most likely could be the query

Getting the String which matched in the document as response

2013-06-20 Thread Prathik Puthran
Hi, Is it possible to get the exact matched string in the index in the select response of Solr. For eg : If the search query is "Hello World" and the query parser is "OR" solr would return all documents which matched both "Hello World", only "Hello" or only "World". Now I want to know which of th

Re: Returning both partial and complete match results in solr

2013-06-18 Thread Prathik Puthran
red to > get coding, and implement another SearchComponent, but given that you > can achieve it with two queries, that seems overkill to me. > > Upayavira > > On Tue, Jun 18, 2013, at 10:59 AM, Prathik Puthran wrote: > > Hi, > > > > I wanted to know if it is p

Returning both partial and complete match results in solr

2013-06-18 Thread Prathik Puthran
Hi, I wanted to know if it is possible to tweak solr to return the results of both complete and partial query matches. For eg: If the search query is "Brad Pitt" and if the query parser is "AND" Solr returns all documents indexed against the term "Brad Pitt". If the query parser is "OR" Solr retu

Re: Filtered Query in Solr

2013-06-17 Thread Prathik Puthran
t particular field. Or, maybe > you added "MUSIC" and "ALBUM" as two separate values for that field and > Solr then implicitly added the +100 position gap between them. > > -- Jack Krupansky > > -Original Message- From: Prathik Puthran > Sent: Monday

Re: Filtered Query in Solr

2013-06-17 Thread Prathik Puthran
Can you please explain why the 2nd one works? On Mon, Jun 17, 2013 at 8:49 PM, Prathik Puthran < prathik.puthra...@gmail.com> wrote: > The first one i.e. fq=asset_type:"MUSIC ALBUM" doesen't work. > > However the 2nd one works > fq=asset_type:(+MUSIC +A

Re: Filtered Query in Solr

2013-06-17 Thread Prathik Puthran
BUM > > This is actually interpreted as: > fq=asset_type:MUSIC text:ALBUM > > You probably want: > fq=asset_type:"MUSIC ALBUM" > or > fq=asset_type:(+MUSIC +ALBUM) > or even: > fq:{!term f=asset_type}MUSIC ALBUM > > Upayavira > > On Mon, Jun 17, 2013, at 03:5

Filtered Query in Solr

2013-06-17 Thread Prathik Puthran
Hi, I am making a select request to solr with with 'fq=asset_type:MUSIC ALBUM' (see query 1 below) as one of the GET parameter. This request does not return any results. However when I send the select request with the parameter 'asset_type=MUSIC ALBUM'(see query 2 below) I get the results. Does t

Re: Configuring lucene to suggest the indexed string for all the searches of the substring of the indexed string

2013-06-10 Thread Prathik Puthran
ataleptic > acatallactic > acatamathesia > acataphasia > acataposis > acatastasia > acatastatic > > wunder > > On Jun 9, 2013, at 10:56 PM, Prathik Puthran wrote: > > > Hi, > > > > @Walter > > I'm trying to implement the below feature for the u

Re: Configuring lucene to suggest the indexed string for all the searches of the substring of the indexed string

2013-06-09 Thread Prathik Puthran
On Fri, Jun 7, 2013 at 4:01 AM, Otis Gospodnetic wrote: > Hi > > Ngrams *will* do this for you. > > Otis > Solr & ElasticSearch Support > http://sematext.com/ > On Jun 6, 2013 7:53 AM, "Prathik Puthran" > wrote: > > > Basically I want the Sug

Re: Configuring lucene to suggest the indexed string for all the searches of the substring of the indexed string

2013-06-06 Thread Prathik Puthran
Basically I want the Suggester to return for "Jason Bourne" as suggestion for ".*Bour.*" regex. Thanks, Prathik On Thu, Jun 6, 2013 at 12:52 PM, Prathik Puthran < prathik.puthra...@gmail.com> wrote: > This works even now i.e. when I search for "Jas" it su

Re: Configuring lucene to suggest the indexed string for all the searches of the substring of the indexed string

2013-06-06 Thread Prathik Puthran
etc then you press space after "Jason". > > Upayavira > > On Thu, Jun 6, 2013, at 07:25 AM, Prathik Puthran wrote: > > My use case is I want to search for any substring of the indexed string > > and > > the Suggester should suggest the indexed string. What c

Re: Configuring lucene to suggest the indexed string for all the searches of the substring of the indexed string

2013-06-05 Thread Prathik Puthran
tml > > > > > > -- Jack Krupansky > > > > -Original Message- From: Prathik Puthran > > Sent: Wednesday, June 05, 2013 11:59 AM > > To: solr-user@lucene.apache.org > > Subject: Configuring lucene to suggest the indexed string for all the > > se

Re: Configuring lucene to suggest the indexed string for all the searches of the substring of the indexed string

2013-06-05 Thread Prathik Puthran
ene/analysis/ngram/**NGramFilterFactory.html<http://lucene.apache.org/core/4_3_0/analyzers-common/org/apache/lucene/analysis/ngram/NGramFilterFactory.html> > > -- Jack Krupansky > > -Original Message- From: Prathik Puthran > Sent: Wednesday, June 05, 2013 11:59 AM > To: solr

Configuring lucene to suggest the indexed string for all the searches of the substring of the indexed string

2013-06-05 Thread Prathik Puthran
Hi, Is it possible to configure solr to suggest the indexed string for all the searches of the substring of the string? Thanks, Prathik

HostPort attribute of tag in solr.xml

2013-06-03 Thread Prathik Puthran
Hi, I am not very sure what the hostPort attribute in tag of solr.xml mean. Can someone please let me know? Thanks, Prathik