hi,
a related question:
is there some way where we can specify action based on
whether field A exists or not?
-umar
On Fri, Apr 11, 2008 at 8:27 AM, Chris Hostetter <[EMAIL PROTECTED]>
wrote:
>
> If every document will definitely have a value for both fields, you can
> do...
>q
We had similar requirements in our project too. I won't go into details of
our schema but we had five to six tables containing information on which we
needed to search or show facets.
The first step here is to get your schema right. Multivalued fields let you
create extremely de-normalized documen
Define "exists"
A. ) Is not declared.
B. ) It is declared, but it has no value. (Empty).
For B) you can use query= -(fieldA:["" TO *]) and it returns all the
documents with fieldA empty (but declared in the doc)
Pako
Umar Shah wrote:
hi,
a related question:
is there some way where we can spe
Hello folks!
First, the link: https://zeta.zappos.com (it's a very early open
beta... we're just very proud of everyone's work and wanted to share
it with you all)
We've been working on a new site here at Zappos for about the last 7
months, with planning going back almost two years. We lo
Hi,
How do I cap the term frequency when computing relevancy scores in solr?
The problem is if a keyword repeats many times in the same document, I don't
want it to hijack the relevancy score. Can I tell solr to cap the term
frequency at a certain threshold?
thanks.
--
View this message in con
Hi,
Probably by writing your own Similarity (Lucene codebase) and implementing the
following method with capping:
/** Implemented as sqrt(freq). */
public float tf(float freq) {
return (float)Math.sqrt(freq);
}
Then put that custom Similarity in a jar in Solr's lib and specify your
S
What do facet queries do that is different from the regular query? What is
a use case where I would use a facet.query in addition to the regular query?
Thanks,
Lance Norskog
>From the wiki:
http://wiki.apache.org/solr/SimpleFacetParameters#head-529bb9b985632b36cbd46
a37bde9753772e47cdd
Arbitr
On Fri, Apr 11, 2008 at 4:32 PM, Lance Norskog <[EMAIL PROTECTED]> wrote:
> What do facet queries do that is different from the regular query? What is
> a use case where I would use a facet.query in addition to the regular query?
It returns the number of documents that match the query AND the fa
Exactly,
It`s something like count(*) group by _your-field_
[]s,
Lucas
Lucas Frare de Avelar Teixeira
Analista de Sistemas
[EMAIL PROTECTED]
Tel: (11) 3522-7723 - Ramal: 4014
On 10-Apr-08, at 11:09 PM, Sagar Khetkade wrote:
Hello, I have a hands on both Lucene and Solr. The difference
betweenthese two search engines are explained to some extend, still
havingsome query on these. I am in need to know 1. The difference
between caching of Lucene and Solr index fi
: I'm guessing this has to do with the spellchecker being in a component and how
: I ripped the code out of the SpellCheckRequestHandler. If I hit the
: SpellCheckRequestHandler normally
: (http://localhost:8983/solr/core0/select?qt=spellchecker&q=pouted), two files
: are opened after the first qu
I'm not sure if i understand your question ... "unicode
normalization" seems to be coming up in both your message and your
example; plus your example suggests stop words are being removed, even
though none of te words are removed from your original "field contains"
string.
I *think* what you
Ok.
I have a query that returns a set A. Doing a facet on field F gives me:
All values of F in the index given as count(*)
And these values can include 0.
I add a facet query that returns B. The facet operation now returns
count(*) on only the values of F that are found in query B
Hi-
When I reply to a solr-user mail, the To: address is the sender instead of
solr-user. Didn't it used to be solr-user?
Lance
: I have inherited a new class from the org.apache.solr.schema.StrField and
: customed a new sort algorithm by implementing the SortComparatorSource
: interface.Then to export the jar file to the solr lib directory, and
: configure the schema.xml file.But when I test the new feature, It does't
: w
: When I reply to a solr-user mail, the To: address is the sender instead of
: solr-user. Didn't it used to be solr-user?
The @lucene lists are all configured to set the "Reply-To" header so that
it contains the list address, mail readers are responsible for respecting
that header, some give y
Hi,
Thank hossman. You get it right :)
Seems the only solution is doing stopword removal in the query but not the
indexit may be problem if the index is very large, but it is okay for me
(also it allows user not killing the phrase "to be or not to be")
hossman wrote:
>
>
> I'm not sure i
hi,
I have a question ... I need to be able to filter a search using a regex. I
cannot used facet as the filtering is pretty complex (but easy to perform
using a regex).
For instance I have stored in the field ID the value 12G and I want to
basically filter out all the results that are > 12 with G
18 matches
Mail list logo