Re: How to search string

2016-05-11 Thread Lasitha Wattaladeniya
Hi Kishor, You can try escaping the search phrase "Garmin Class A" > Garmin\ Class\ A Lasitha Wattaladeniya Software Engineer Mobile : +6593896893 Blog : techreadme.blogspot.com On Wed, May 11, 2016 at 6:12 PM, Ahmet Arslan <iori...@yahoo.com.invalid> wrote: > Hi, &

Dynamically change solr suggest field

2016-05-11 Thread Lasitha Wattaladeniya
selected in the combo box. I was trying to solve this problem whole day but not much luck. Can anybody tell me is there a way of doing this ? Regards, Lasitha. Lasitha Wattaladeniya Software Engineer Mobile : +6593896893 Blog : techreadme.blogspot.com

Re: Dynamically change solr suggest field

2016-05-11 Thread Lasitha Wattaladeniya
a lot of work. Anyway this seems like the only way forward. I can't use the option two because the combo box select the filed, not a value specific to a single field Best regards, Lasitha Lasitha Wattaladeniya Software Engineer Mobile : +6593896893 Blog : techreadme.blogspot.com On Wed, May 11

Re: Dynamically change solr suggest field

2016-05-17 Thread Lasitha Wattaladeniya
Lasitha Wattaladeniya Software Engineer Mobile : +6593896893 Blog : techreadme.blogspot.com On Tue, May 17, 2016 at 2:15 AM, Alessandro Benedetti < benedetti.ale...@gmail.com> wrote: > The scenario you described should be done with the suggester component. > Nothing prevent you

Re: Dynamically change solr suggest field

2016-05-15 Thread Lasitha Wattaladeniya
. Regards, Lasitha. Lasitha Wattaladeniya Software Engineer Mobile : +6593896893 Blog : techreadme.blogspot.com On Thu, May 12, 2016 at 8:05 AM, Lasitha Wattaladeniya <watt...@gmail.com> wrote: > Hi Nick, > > Thanks for the reply. According to my requirement I can use only option > on

Implementing partial search and exact search

2016-05-05 Thread Lasitha Wattaladeniya
a generic requirement and don't want to reinvent the wheel. Appreciate your comments [1]. https://issues.apache.org/jira/browse/SOLR-6842 [2]. http://grokbase.com/t/lucene/solr-user/14cbghncvh/different-fields-for-user-supplied-phrases-in-edismax Thanks, Lasitha Wattaladeniya Software Engineer

Implementing partial search and exact matching

2016-05-05 Thread Lasitha Wattaladeniya
a generic requirement and don't want to reinvent the wheel. Appreciate your comments [1]. https://issues.apache.org/jira/browse/SOLR-6842 [2]. http://grokbase.com/t/lucene/solr-user/14cbghncvh/different-fields-for-user-supplied-phrases-in-edismax Thanks, Lasitha Wattaladeniya Software Engineer

Re: Implementing partial search and exact matching

2016-05-05 Thread Lasitha Wattaladeniya
schema breakdown similar to the admin analyze page. Nick On Thu, May 5, 2016 at 12:25 AM, Lasitha Wattaladeniya <watt...@gmail.com> wrote: > Hi All, > > I'm trying to implement a search functionality using solr. Currently I'm > suing edismax parser with ngram fields to do the

Re: Implementing partial search and exact matching

2016-05-05 Thread Lasitha Wattaladeniya
is someone else on here who can offer some more perspective on > this or a possible query analyzer that I haven't heard of that can solve > this issue (I would also be interested in that). > > Nick > > On Thu, May 5, 2016 at 6:33 PM, Lasitha Wattaladeniya <watt...@gmail.com&

How to get suggestions with numbers?

2016-07-29 Thread Lasitha Wattaladeniya
Hi devs, Past couple of days I was trying to get solr suggestions work with my applications. The requirement is as follows, I have some codes eg :abcdef2. I should be able to type "2000" and get suggestions as abcdef2. I index the field containing the code to a ngram field (standard

Re: ConcurrentUpdateSolrServer update response doesn't reflect correct response status

2017-02-12 Thread Lasitha Wattaladeniya
e Solr 6.1 Best, Erick On Sun, Feb 12, 2017 at 8:05 PM, Lasitha Wattaladeniya <watt...@gmail.com> wrote: > Hi devs, > > I'm using the ConcurrentUpdateSolrServer to add some documents to solr. > While I'm doing so I see some 'bad request" errors printed in the consol

ConcurrentUpdateSolrServer update response doesn't reflect correct response status

2017-02-12 Thread Lasitha Wattaladeniya
Hi devs, I'm using the ConcurrentUpdateSolrServer to add some documents to solr. While I'm doing so I see some 'bad request" errors printed in the console due to incorrect solrinputdocuments. The issue is I can't capture this issue by reading updateresonse status. I saw some one had stated that

Re: ConcurrentUpdateSolrServer update response doesn't reflect correct response status

2017-02-13 Thread Lasitha Wattaladeniya
an interesting topic to look into. Regards, Lasitha Lasitha Wattaladeniya Software Engineer Mobile : +6593896893 Blog : techreadme.blogspot.com On Mon, Feb 13, 2017 at 10:01 PM, Shawn Heisey <apa...@elyograg.org> wrote: > On 2/12/2017 10:51 PM, Lasitha Wattaladeniya wrote: > > Thank

Re: Stemming with SOLR

2016-12-15 Thread Lasitha Wattaladeniya
fielding these into duplicate fields will affect on the index time ( we have jobs to index data periodically) and query time. I wonder why there isn't a correct solution to this Regards, Lasitha Lasitha Wattaladeniya Software Engineer Mobile : +6593896893 Blog : techreadme.blogspot.com On Fri, Dec 16

Stemming with SOLR

2016-12-15 Thread Lasitha Wattaladeniya
to correct direction or some information :) Best regards, Lasitha Wattaladeniya Software Engineer Mobile : +6593896893 Blog : techreadme.blogspot.com

Re: Soft commit and reading data just after the commit

2016-12-19 Thread Lasitha Wattaladeniya
to search results from solr and at that time it should be updated). Regards, Lasitha Lasitha Wattaladeniya Software Engineer Mobile : +6593896893 Blog : techreadme.blogspot.com On Mon, Dec 19, 2016 at 6:37 PM, Shawn Heisey <apa...@elyograg.org> wrote: > On 12/18/2016 7:09 PM, Lasitha Watt

Re: Soft commit and reading data just after the commit

2016-12-19 Thread Lasitha Wattaladeniya
ave a look at that method. Best regards, Lasitha Lasitha Wattaladeniya Software Engineer Mobile : +6593896893 <+65%209389%206893> Blog : techreadme.blogspot.com On Tue, Dec 20, 2016 at 3:31 AM, Hendrik Haddorp <hendrik.hadd...@gmx.net> wrote: > Hi, > > the SolrJ API has

Re: Stemming with SOLR

2016-12-18 Thread Lasitha Wattaladeniya
ding a free-level SAAS plan. > > > > Regards, > >Alex. > > > > http://www.solr-start.com/ - Resources for Solr users, new and > experienced > > > > > > On 15 December 2016 at 21:28, Lasitha Wattaladeniya <watt...@gmail.com> > &

Re: Soft commit and reading data just after the commit

2016-12-18 Thread Lasitha Wattaladeniya
I didn't look much onto REALTIME GET handler. Thanks for mentioning that. I'm checking it now On 19 Dec 2016 10:09, "Lasitha Wattaladeniya" <watt...@gmail.com> wrote: > Hi all, > > Thanks for your replies, > > @dorian : the requirement is, we are show

Re: Soft commit and reading data just after the commit

2016-12-18 Thread Lasitha Wattaladeniya
using the wrong tool for the > > job if you need 1ms softCommit time. Especially when you always need it > (ex > > there are apps where you need commit-after-insert very rarely). > > > > So explain what you're using it for ? > > > > On Sun, Dec 18, 2016 at 3:38 P

Re: Soft commit and reading data just after the commit

2016-12-18 Thread Lasitha Wattaladeniya
Hi furkan, Thanks for your reply, it is generally a query heavy system. We are using realtime indexing for editing the available data Regards, Lasitha Lasitha Wattaladeniya Software Engineer Mobile : +6593896893 Blog : techreadme.blogspot.com On Sun, Dec 18, 2016 at 8:12 PM, Furkan KAMACI

Re: Soft commit and reading data just after the commit

2016-12-18 Thread Lasitha Wattaladeniya
before calling for updated results ? Regards, Lasitha Lasitha Wattaladeniya Software Engineer Mobile : +6593896893 Blog : techreadme.blogspot.com On Sun, Dec 18, 2016 at 8:46 PM, Furkan KAMACI <furkankam...@gmail.com> wrote: > Hi Lasitha, > > First of all, did you check t

Soft commit and reading data just after the commit

2016-12-18 Thread Lasitha Wattaladeniya
is a good option. Please give me some help from your expert knowledge Best regards, Lasitha Wattaladeniya Software Engineer Mobile : +6593896893 Blog : techreadme.blogspot.com

HttpSolrServer default connection timeout and socket timeout

2017-03-15 Thread Lasitha Wattaladeniya
Hi devs, What are the default HttpSolrServer connection timeout and socket timeout used? And what are the recommended values we should use? My system is having some problems when the load is high, just trying to figure out what are the correct values should set Regards, Lasitha

Solrj HttpSolrServer retryHandler

2017-04-04 Thread Lasitha Wattaladeniya
Hi folks, Is there a API to implement a retryHandler in HttpSolrServer ? I'm using solrj 4.10.4 Lasitha Wattaladeniya Software Engineer Mobile : +6593896893 Blog : techreadme.blogspot.com

Re: HttpSolrServer default connection timeout and socket timeout

2017-04-24 Thread Lasitha Wattaladeniya
:48, "Lasitha Wattaladeniya" <watt...@gmail.com> wrote: > Hi devs, > > What are the default HttpSolrServer connection timeout and socket timeout > used? > > And what are the recommended values we should use? > > My system is having some problems when the l

Solr 4.10.4 export handler NPE

2017-08-01 Thread Lasitha Wattaladeniya
Hi devs, I was exploring the /export handler in solr and got an exception. When I research online I found this open jira case : SOLR-8860 https://issues.apache.org/jira/plugins/servlet/mobile#issue/SOLR-8806 is this a valid jira case? Any workarounds? Jira says affect version is 5.5 but I'm

Re: Solr 4.10.4 export handler NPE

2017-08-03 Thread Lasitha Wattaladeniya
o clue. Any chance of trying it on a 6.6 release? > > Best, > Erick > > On Tue, Aug 1, 2017 at 8:43 PM, Lasitha Wattaladeniya <watt...@gmail.com> > wrote: > > Hi devs, > > > > I was exploring the /export handler in solr and got an exception. When I >

Highlighting words with special characters

2017-07-18 Thread Lasitha Wattaladeniya
Hi devs, I have setup solr highlighting with default setup (only changed the fragsize to 0 to match any field length). It worked fine but recently I discovered it doesn't highlight for words with special characters in the middle. For an example, let's say I have indexed email address

Re: Highlighting words with special characters

2017-07-18 Thread Lasitha Wattaladeniya
(only in index) Regards, Lasitha On 18 Jul 2017 14:11, "Lasitha Wattaladeniya" <watt...@gmail.com> wrote: > Hi devs, > > I have setup solr highlighting with default setup (only changed the > fragsize to 0 to match any field length). It worked fine but recently I >

Re: Highlighting words with special characters

2017-07-19 Thread Lasitha Wattaladeniya
Update, I changed the UAX29URLEmailTokenizerFactory to StandardTokenizerFactory and now it shows highlighted text fragments in the indexed email text. But I don't understand this behavior. Can someone shed some light please On 18 Jul 2017 14:18, "Lasitha Wattaladeniya" <watt...@gma

Re: Highlighting words with special characters

2017-07-20 Thread Lasitha Wattaladeniya
in query) NgramTokenizerFactory (only in index) I'll have a look more into what you said, Single tokenizer in analysis chain. Regards, Lasitha Lasitha Wattaladeniya Software Engineer Mobile : +6593896893 Blog : techreadme.blogspot.com On Thu, Jul 20, 2017 at 7:12 PM, Shawn Heisey <apa...@elyograg.

Re: Highlighting words with special characters

2017-07-19 Thread Lasitha Wattaladeniya
rslan" <iori...@yahoo.com.invalid> wrote: Hi, Maybe name of the UAX29URLEMailTokenizer is deceiving you?It does *not* tokenize URLs and Emails. Actually it recognises them and emits them as a single token. Ahmet On Wednesday, July 19, 2017, 12:00:05 PM GMT+3, Lasitha Wattaladeniya < watt.

Java bigdecimal equivalent field type in solr

2017-06-05 Thread Lasitha Wattaladeniya
Hi devs, Can you please help me to identify what is the java bigdecimal equivalent field type in solr. Currently I was indexing the float value of the bigdecimal to a *_f field. But it looses precision when I call the Bigdecimal.floatValue() method Regards, Lasitha