Hi, guys, I am getting started with solr.
when I search a collection of data, I care both the document score(relevance
towards user query word) and document publishTime(which is another field in
each of the document).
If I simply sort matching document set by publishTime field, then the score
is n
This is exactly what I need, really appreciate.
2010/1/7 Shalin Shekhar Mangar
> 2010/1/7 Wangsheng Mei
>
> > Hi, guys, I am getting started with solr.
> >
> > when I search a collection of data, I care both the document
> > score(relevance
> > towards user
This is exactly what I need, really appreciate.
2010/1/7 Shalin Shekhar Mangar
> 2010/1/7 Wangsheng Mei
>
> > Hi, guys, I am getting started with solr.
> >
> > when I search a collection of data, I care both the document
> > score(relevance
> > towards user
Hi, ALL!
I have two tables in database.
t_article {
title,
content,
author
}
t_friend {
person_A,
person_B
}
note that in t_friend is many-to-many relation。
When a logged-in user, search articles with a query word, 3 factors should
be considered in.
factor 1. relevency score
facto
7;s article a better score than it's
friends' article?
2010/1/12 Wangsheng Mei
> Hi, ALL!
>
> I have two tables in database.
>
> t_article {
>title,
>content,
>author
> }
>
> t_friend {
> person_A,
> person_B
> }
>
> not
2010/1/12 Wangsheng Mei
> I have considered building lucene index like:
> Document: { title, content, author, friends }
> Thus, author and friends are two seperate fields. so I can boost them
> seperately.
> The problem is, if a document's author is the logged-in user,
I faced a similar problem when I was dealing with Chinese words search.
By simply adding a PositionFilter at the end of analyzer, the damn phrase
query disappeared and replaced by term queries which is what I've expected.
That's very nice, thank you very much!
Note that Chinese words segmentation
Hi, ALL.
My original query is:
http://myhost:8080/solr/select?q=ipod&*bq=userId:12345^0.5*
&fq=&start=0&rows=10&fl=*%2Cscore&qt=dismax&wt=standard&debugQuery=on&explainOther=&hl.fl=
It works this way.
But I would like to place bq phrase in the default solrconfig.xml
configuration to make the quer
maybe you should add "-Dsolr.solr.home=" to your JAVA_OPTS
before your servlet container starts.
2010/1/19 Siv Anette Fjellkårstad
> Hi!
> I try to run the tests of Solr 1.4 in Eclipse, but a most of them fails.
> The error messages indicate that I miss some config files in my build path.
> Is
; I apologize for the newbie questions :|
> Do I need a servlet container to run the tests?
>
> Kind regards,
> Siv
>
>
> ________
>
> Fra: Wangsheng Mei [mailto:hairr...@gmail.com]
> Sendt: ti 19.01.2010 08:49
> Til: solr-user@lucene.a
I run DIH in the same machine with database, hence avoided the problem.
2010/1/20 Yao Ge
>
> I am struggling with the concept of delta import in DIH. According the to
> documentation, the delta import will automatically record the last index
> time stamp and make it available to use for the delt
Thanks for your attention.
I think I was just a little over-worried about search performance,.
Fortunately, solr works pretty nice until present, it's fast enough for me.
2010/1/20 Chris Hostetter
>
> : I have considered building lucene index like:
> : Document: { title, content, author, frien
The following 3 search senarioes:
> bla:A
> bla:B
> bla:A OR bla:B
>
are quite common, so I use 3 filter queries:
fq=bla:A
fq=bla:B
fq=bla:A OR bla:B
My question is,
since the last fq documents set will be build from the first two fq doc
sets, will solr still cache the last fq doc set or it just
does that query and saves the
> list of documents matching the search.
>
> 2010/1/20 Wangsheng Mei :
> > The following 3 search senarioes:
> >
> >> bla:A
> >> bla:B
> >> bla:A OR bla:B
> >>
> > are quite common, so I use 3 filter queries
I am not very sure if you are talking about a bit complex boolean queries.
According stardard boolean logic, complex if-else would be normalized by
using union, intersection, not.
you omited some of your logic, lets assume it as:
if( FieldA == myval1) {
if(FieldB == 1){
don't return the
hi, Noam, you can try this one,
name:abc AND ((network_id:network1 AND payout:[minval TO *]) OR
-network_id:network1)
2010/1/21 Noam G.
>
> Hi All (Erick, David...)
>
> Thanks for replying.
>
> Let me try to elaborate:
> - Each document holds a string value called name, an int parameter called
>
2010/1/22 Noam G.
>
> Hi Mei,
>
> I replyed to you directlly by mistake - so here is the message again -
> allmost the same ;-)
>
> I think I'm getting it now :-)
>
> Let's take your suggestion:
> name:abc AND ((network_id:network1 AND payout:[minval TO *]) OR
> -network_id:network1)
>
> What I n
Hi, Chris, thanks for suggestions.
q=ipod&bq={!dismax qf=userId^0.5 v=$qq}&qq=12345&qt=dismax
I've tried your suggested query above, unfortunately, it does not work out.
I glanced a bit on the error message, the "Infinite Recursion" error seems
that dismax query parser are adding bq multiple time
params is designed, right?
Does anyone face the same problem?
2010/1/29 Wangsheng Mei
> Hi, Chris, thanks for suggestions.
>
> q=ipod&bq={!dismax qf=userId^0.5 v=$qq}&qq=12345&qt=dismax
>
> I've tried your suggested query above, unfortunately, it does not work out
Hi, All.
I have mentioned this on a previous thread, but I feel it necessary to post
it here as a separate thread.
When I using dismax query as boost query(with bq) of an upper level dismax
query, dismax query parser reports "Infinite recursion Error".
e.g.
http://myhost/solr/select?q=ipod&bq={!d
nice trick, Yonik.[?]
2010/1/29 Yonik Seeley
> 2010/1/28 Wangsheng Mei :
> > q=ipod&bq={!dismax qf=userId^0.5 v=$qq}&qq=12345&qt=dismax
> >
> > I've tried your suggested query above, unfortunately, it does not work
> out.
> > I glanced a bit on th
Resolved by yonik's suggestion by adding an empty bq inside the embeded
dismax:
http://myhost/solr/select?q=ipod&bq={!dismax%20qf=userId<http://myhost/solr/select?q=ipod&bq=%7B%21dismax%20qf=userId>^0.5%20v=$qq
bq=}&qq=123&qt=dismax
2010/1/29 Wangsheng Mei
> Hi,
MaxQuery((userId:12345^0.5)~0.01)
see, the second(embeded) DisMax is marked as *Mandatory*, thus the purpose
of boosting the main query cannot be achieved.
Apparently, this is not it's expected to be.
Any ideas?
2010/1/29 Wangsheng Mei
> nice trick, Yonik.[?]
>
> 2010/1/29 Yonik S
In addition to destory the "holes" in the index, optimization is also used
to merge multiple small indexes into a bigger one.
Although I have not got specific performace data, I can imagine that this
will lead to performace benifits.
Supposing you have thousands of small indexes, open-close these
What's the point of generating your own query?
Are you sure that solr query syntax cannot satisfy your need?
2010/1/29 Abin Mathew
> Hi I want to generate my own customized query from the input string entered
> by the user. It should look something like this
>
> *Search field : Microsoft*
> *
>
I think you can combine serveral solr supplied standard function query to
achieve this.
similar to:
&bf=map(map(div(ms(NOW, expiration),8640),-1,0,0), 1,1,1)
Furthermore, you would implement your own function and register it in
solrconfig.xml using valueSourceParser tag.
2010/1/29 An
Document Duplication Detection
[image: ] Solr1.4
目录
1. Document Duplication Detection <#Document_Duplication_Detection>
2. Overview <#Overview>
1. Goals <#Goals>
2. Design <#Design>
3. Notes <#Notes>
4. Configuration <#Configuration>
1. solrconfig.xml <#solrconfig.
Sorry by sending wrong message, this should go to my own mail box :(
2010/1/30 Wangsheng Mei
> Document Duplication Detection
>
> [image: ] Solr1.4 <http://solr/Solr1.4>
>
> 目录
>
>1. Document Duplication
> Detection<#1267b655a97b48f5_Document_Duplic
Did you correctly set multiValue(not multivalue)="true" in schema.xml?
2010/1/30 Jason Rutherglen
> DataImportHandler multivalued field Collection isn't
> working the way I'd expect, meaning not at all. I logged the
> collection is there, however the multivalue collection field
> just isn't bein
You can try to use boost query(bq) instead of sort.
They should have similar effect.
e.g.
http://solr?q=baseball&bq=isbn:ABC+isbn:DEF+isbn:GHI&qt=dismax
2010/1/30
> hi,
>
> i want to query for documents that have certain values but i want it first
> sorted by documents that this person has view
you would use bq parameter to boost question_source==3 documents first.
similar to:
http://solr/select?q=your_query&qt=dismax&bq=question_source:3^1000
2010/2/6 Jon Drukman
> I have a very simple schema: two integers and two text fields.
>
>
>required="true" />
>
>stored="true"/>
>
31 matches
Mail list logo