Re: comparing feature vectors using Solr/Lucene

2014-11-26 Thread Nicholas Ding
I'm not sure if Solr is the right tool to do this task. You probably need a machine learning library like Mahout or Weka. PS: Lucene doesn't really use Cosine Similarity, it's using a practical TF-IDF Similarity. Nicholas Ding On Wed, Nov 26, 2014 at 3:05 PM, Upayavira wrote:

Re: Include Solr score into a ranking algorithm

2014-11-20 Thread Nicholas Ding
Thank you so much, Mikhail! It works perfectly. On Thu, Nov 20, 2014 at 12:54 PM, Mikhail Khludnev < mkhlud...@griddynamics.com> wrote: > On Thu, Nov 20, 2014 at 5:23 PM, Nicholas Ding > wrote: > > > Hi Mikhail, > > > > Thank you very much! I'm using eDis

Re: Include Solr score into a ranking algorithm

2014-11-20 Thread Nicholas Ding
Hi Mikhail, Thank you very much! I'm using eDisMax by default, I think I will need to change it to defType=func and pass all the query parameters (fq mainly) to the sub query right? Nicholas Ding On Thu, Nov 20, 2014 at 5:22 AM, Mikhail Khludnev < mkhlud...@griddynamics.com> wrot

Include Solr score into a ranking algorithm

2014-11-19 Thread Nicholas Ding
o do my ranking algorithm in Solr/Lucene? -- Nicholas Ding

Re: How to improve performance of geodist()

2013-05-13 Thread Nicholas Ding
tance. On Mon, May 13, 2013 at 1:27 PM, Yonik Seeley wrote: > On Mon, May 13, 2013 at 1:12 PM, Nicholas Ding > wrote: > > I'm using geodist() in a recip boost function. I noticed a performance > > impact to the response time. I did a profiling session, the geodist() >

How to improve performance of geodist()

2013-05-13 Thread Nicholas Ding
Hi guys, I'm using geodist() in a recip boost function. I noticed a performance impact to the response time. I did a profiling session, the geodist() calculation took 30% of CPU time. I'm wondering is there any alternative to Haversine function that can reduce CPU calculation? I don't need very a

Re: Looking for Best Practice of Spellchecker

2013-05-13 Thread Nicholas Ding
pecifying > "rows=0". However, its one less query to just have it return the results > also. If there are no results, your application can check for collations > and re-issue a collation query. If there are both results and collations > returned, you can give the user results

Looking for Best Practice of Spellchecker

2013-05-10 Thread Nicholas Ding
Hi guys, I'm working on a local search project, I wanna integrate spellchecker for the search. So basically, my search engines is used to search local businesses. For example, user could search for "wall mart", here is a typo, I wanna spellchecker to give me Collation for "walmart". My problems

Re: numFound is not correct while using Result Grouping

2013-02-26 Thread Nicholas Ding
ments. > > > > A quick glance in the code learns that it is indeed not calculated in > this > > case. But not completely trivial to fix. Could you use format=simple > > instead? That will work with ngroups. > > > > Teun > > > > > > 2013/2

Re: numFound is not correct while using Result Grouping

2013-02-25 Thread Nicholas Ding
eldCollapsing > > Carlos Maroto > Search Architect at Search Technologies (www.searchtechnologies.com) > > > > Nicholas Ding wrote: > > > Hello, > > I grouped the result, and set group.main=true. I was expecting the numFound > equals to the number of groups,

Re: Search among multiple cores

2012-11-26 Thread Nicholas Ding
Performance Monitoring - http://sematext.com/spm/index.html > Search Analytics - http://sematext.com/search-analytics/index.html > > > > > On Mon, Nov 26, 2012 at 7:18 PM, Nicholas Ding >wrote: > > > Hi, > > > > I'm working on a search engine projec

Re: What does _version_ field used for?

2012-10-17 Thread Nicholas Ding
I have the same problem, does it mean I have to put _version_ field in every schema.xml? Thanks Nicholas On Wed, Oct 17, 2012 at 3:44 AM, Jun Wang wrote: > Ok, I got it, thanks > > 2012/10/17 Alexandre Rafalovitch > > > Yes, just make sure you have it in the scheme. Solr handles the rest. > >

Re: How to do exact match?

2012-10-17 Thread Nicholas Ding
nese cuisines" to match "chinese cuisine", which is not exact. > > Otis > -- > Search Analytics - http://sematext.com/search-analytics/index.html > Performance Monitoring - http://sematext.com/spm/index.html > > > On Wed, Oct 17, 2012 at 1:25 PM, Nicholas Ding

Re: How to do exact match?

2012-10-17 Thread Nicholas Ding
s some sample data and > some sample queries? > > -- Jack Krupansky > > -Original Message- From: Nicholas Ding > Sent: Wednesday, October 17, 2012 11:24 AM > To: solr-user@lucene.apache.org > Subject: How to do exact match? > > > Hello, > > I want to do exact

Tokenizer for Optional Keywords

2012-10-03 Thread Nicholas Ding
Hi, I'm working on a special requirement for matching. One thing is confusing me, I can't find a good way to solve it. Doc A has keywords "Car Dealer", "Car Repair" Doc B has keywords "Car Washing", "Car Clean" I have a "Optional Keywords" list that contains keywords like "Dealer". If my query

Re: Query among multiple cores

2012-10-03 Thread Nicholas Ding
-- > Search Analytics - http://sematext.com/search-analytics/index.html > Performance Monitoring - http://sematext.com/spm/index.html > > > On Tue, Oct 2, 2012 at 11:09 PM, Nicholas Ding > wrote: > > Join is cool, but does it work among multiple cores? On Solr's wiki, I >

Re: Query among multiple cores

2012-10-02 Thread Nicholas Ding
execute > just one query. > > Otis > -- > Performance Monitoring - http://sematext.com/spm > On Oct 2, 2012 5:50 PM, "Nicholas Ding" wrote: > > > Hello, > > > > I'm working on a search project, that involves searching against more > th

Re: Configure logging with Solr 4 on Tomcat 7

2012-08-30 Thread Nicholas Ding
gt; Have you looked in catalina.out? > > Best > Erick > > On Mon, Aug 27, 2012 at 12:43 PM, Nicholas Ding > wrote: > > I put a logging.properties into solr/WEB-INF/classes, but I still not see > > any logs. > > > > On Mon, Aug 27, 2012 at 11:56 AM, Chantal

Re: Configure logging with Solr 4 on Tomcat 7

2012-08-27 Thread Nicholas Ding
; See here: > http://lucidworks.lucidimagination.com/display/solr/Configuring+Logging > Section "Tomcat Logging Settings" > > Cheers, > Chantal > > Am 27.08.2012 um 16:43 schrieb Nicholas Ding: > > > Hello, > > > > I've deployed Solr 4 on Tomcat 7, it is a multicore c

Query expansion by taxonomy

2012-08-24 Thread Nicholas Ding
Hello, I want do query expansion on Solr, I have a taxonomy index like this. Is that possible to do one search to get a list contains searched keywords and their siblings under same category? For example, search for "Ford" whose category is "Car Dealer", the results is not limited to "Ford",

Re: The way to customize ranking?

2012-08-23 Thread Nicholas Ding
h would allow you to precisely control how many ads you pull > back and how you merge them into the results, and you would be able to > control schemas, boosting, defaults fields, etc for each index > independently. > > > > Best regards > > > > François > > > &g

Re: The way to customize ranking?

2012-08-23 Thread Nicholas Ding
mmonQueryParameters) > like fq: Search Rule :[1 TO *] > > Alternatively, You can even use a boolean field to identify whether or not > a search is paid and then an addtitional field that identifies the type of > paid search. > > -- > karthick > > On Thu, Aug 23, 2