Hi Team,
Need some help on Client connection object pooling
I am using SolrJ API to connect the Solr.
This below snippet I used to create the client object.
*SolrClient client = new HttpSolrClient.Builder(*
* SolrUtil.getSolrURL(tsConfigUtil.getClusterAdvertisedAddress(),
aInCollectionName)).bu
Hi,
Say that the field name has the following terms:
Giants
Manning
New York
When someone searches for "gants" or "Gants", I need the suggestion to be
returned as "Giants" (capital G - same case as in the content that was
indexed). Using lowercase filter in both index and query analyzers I get
ecosystem search :: http://search-lucene.com/
> >
> >
> >
> > - Original Message
> >
> > > From: Satish Kumar
> > > To: solr-user@lucene.apache.org
> > > Sent: Fri, April 29, 2011 2:58:25 PM
> > > Subject: Baseline vs. In
Hi,
Currently we index new/updated records every 30 minutes (I am referring to
this as incremental/partial index) -- i.e., records will be added to an
existing index. Are there any benefits in creating a new index (i.e., delete
the existing index and create it) from a performance point of view eve
ways appear at the end of the list which wouldn't be a bad thing.
>
> DisMax might help you here...
>
> But do ask if it is really a requirement or just something nobody's
> objected to before bothering IMO...
>
> Best
> Erick
>
> On Sat, Sep 11, 2010 at 1:1
Hi,
We have a requirement to show at least one result every time -- i.e., even
if user entered term is not found in any of the documents. I was hoping
setting mm to 0 will return results in all cases, but it is not.
For example, if user entered term "alpha" and it is *not* in any of the
documents
Hi,
Is it possible to associate properties to a facet? For example, facet on
categoryId (1, 2, 3 etc. ) and get properties display name, image, etc?
Thanks,
Satish
Hi,
We have some identical records in our data set (e.g. what is swine flu?
written by two different authors). When user searches for "What is swine
flu?", we want the result by author1 appear as the first result for x% of
the queries and result by author2 for y% of the queries (where x and y
shou
#x27;shingling' in your app, and
> then it's a somewhat more normal Solr query. &fq= -"shingle one" -"shingle
> two" -"shingle three" etc. Or put em in seperate fq's depending on how you
> want to use your filter cache. Still searching on a non-t
Hi,
We have a requirement to NOT display search results if user query contains
terms that are in our anti-words field. For example, if user query is "I
have swollen foot" and if some records in our index have "swollen foot" in
anti-words field, we don't want to display those records. How do I go a
kog wrote:
> Because leading negative clauses don't work. The (*:* AND x) syntax
> means "select everything AND also select x".
>
> You could also do
> (+category:xyz +price:[100 TO *]) -category:xyz
>
> On Tue, May 11, 2010 at 12:36 PM, Satish Kumar
> w
Hi,
Special characters in the text used for boost queries are not removed. For
example, bq=field1:(what is xyz?)^10 gets parsed into query field1:xyz?10
(what and is are stop words). Question mark didn't get removed -- field1
uses standard tokenizer and standard filter, so I expect it to get remov
thanks Ahmet.
(+category:xyz +price:[100 TO *]) (+*:* -category:xyz)
why do we have to use (+*:* -category:xyz) instead of -category:xyz?
On Tue, May 11, 2010 at 3:08 PM, Ahmet Arslan wrote:
> > How do I implement a requirement like "if category is xyz,
> > the price should
> > be greater th
Hi,
How do I implement a requirement like "if category is xyz, the price should
be greater than 100 for inclusion in the result set".
In other words, the result set should contain:
- all matching documents with category value not xyz
- all matching documents with category value xyz and price > 10
pf has the format as qf.
titlePhrase^10.0
For our project, if user query text matches the title of an article/book, we
want to surface that article as the first result. So, we are using pf field
to give additional boost to results that have the exact title match.
On Mon, May 10, 2010 at 11:21 PM
ing jobs. You might try
> limiting the number of documents per upload call.
>
> On Sun, May 9, 2010 at 9:16 PM, Satish Kumar
> wrote:
> > Found these errors in Tomcat's log file:
> >
> > May 9, 2010 10:57:24 PM org.apache.solr.common.SolrException log
> > SE
at
org.apache.solr.servlet.SolrDispatchFilter.doFilter(SolrDispatchFilter.java:241)
at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
:
On Mon, May 10, 2010 at 12:10 AM, Satish Kumar <
satish.kumar.just.d...@gmail.com> wrote:
> Hi
Hi,
I am getting the following error when I run the index process once in a
while. I'm using Solr 1.4. Any suggestions on how to resolve this error?
Caused by: org.apache.solr.client.solrj.SolrServerException:
org.apache.commons.httpclient.ProtocolException: Unbuffered entity enclosing
request ca
Hi,
Can someone give clues on how to implement this feature? This is a very
important requirement for us, so any help is greatly appreciated.
thanks!
On Tue, Apr 27, 2010 at 5:54 PM, Satish Kumar <
satish.kumar.just.d...@gmail.com> wrote:
> Hi,
>
> For some of our queries, the
Hi,
For some of our queries, the top xx (five or so) results are of very high
quality and results after xx are very poor. The difference in score for the
high quality and poor quality results is high. For example, 3.5 for high
quality and 0.8 for poor quality. We want to exclude results with score
20 matches
Mail list logo