Implementing partial search and exact matching

2016-05-05 Thread Lasitha Wattaladeniya
eel like it's 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 search

2016-05-05 Thread Lasitha Wattaladeniya
eel like it's 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
kdown similar to the admin analyze page. Nick On Thu, May 5, 2016 at 12:25 AM, Lasitha Wattaladeniya 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 search against. So far it >

Re: Implementing partial search and exact matching

2016-05-05 Thread Lasitha Wattaladeniya
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 > wrote: > > > Hi nd, >

Dynamically change solr suggest field

2016-05-11 Thread Lasitha Wattaladeniya
the value 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: 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 wrote: > Hi, > > You can be explicit about t

Re: Dynamically change solr suggest field

2016-05-11 Thread Lasitha Wattaladeniya
ike 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 W

Re: Dynamically change solr suggest field

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

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

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 an

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

Highlighting words with special characters

2017-07-17 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 test.f...@ra

Re: Highlighting words with special characters

2017-07-17 Thread Lasitha Wattaladeniya
(only in index) Regards, Lasitha On 18 Jul 2017 14:11, "Lasitha Wattaladeniya" 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 > discovered it doesn't hi

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

Re: Highlighting words with special characters

2017-07-19 Thread Lasitha Wattaladeniya
ot;Ahmet Arslan" 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...@gmail.com> wrot

Re: Highlighting words with special characters

2017-07-20 Thread Lasitha Wattaladeniya
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 wrote: >

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 get

Re: Solr 4.10.4 export handler NPE

2017-08-03 Thread Lasitha Wattaladeniya
on a 6.6 release? > > Best, > Erick > > On Tue, Aug 1, 2017 at 8:43 PM, Lasitha Wattaladeniya > wrote: > > 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 >

Stemming with SOLR

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

Re: Stemming with SOLR

2016-12-15 Thread Lasitha Wattaladeniya
t, so copy 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

Soft commit and reading data just after the commit

2016-12-18 Thread Lasitha Wattaladeniya
don't feel like waiting from client side 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

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
econd 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 wrote: > Hi Lasitha, > > First of all, did you check these: > > https://cwiki.a

Re: Stemming with SOLR

2016-12-18 Thread Lasitha Wattaladeniya
>Alex. > > > > http://www.solr-start.com/ - Resources for Solr users, new and > experienced > > > > > > On 15 December 2016 at 21:28, Lasitha Wattaladeniya > > wrote: > > > Hi all, > > > > > > Thanks for the

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

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" wrote: > Hi all, > > Thanks for your replies, > > @dorian : the requirement is, we are showing a list of entries o

Re: Soft commit and reading data just after the commit

2016-12-19 Thread Lasitha Wattaladeniya
x27;ll have to go back 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 wrote: > On 12/18/2016 7:09 PM, Lasitha Wa

Re: Soft commit and reading data just after the commit

2016-12-19 Thread Lasitha Wattaladeniya
'll have 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 wrote: > Hi, > > the SolrJ API has this method: SolrClient.

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-12 Thread Lasitha Wattaladeniya
rick On Sun, Feb 12, 2017 at 8:05 PM, Lasitha Wattaladeniya 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 console > due to incorrect solrinputdo

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

2017-02-13 Thread Lasitha Wattaladeniya
ke 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 wrote: > On 2/12/2017 10:51 PM, Lasitha Wattaladeniya wrote: > > Thanks for the reply. But e

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" 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 load is high, just trying to