Here is how i have previously used grouping. Note i am using Solr 3.5:
SolrQuery query = new SolrQuery();
query.setRows(GROUPING_LIMIT);
query.setParam(group, Boolean.TRUE);
query.setParam(group.field, GROUP_FIELD);
This seems to work for me.
On Fri, Nov 30, 2012 at 1:17 PM, Roman SlavĂk
a value like that when issued in a
deleteByQuery should be wiping out the entire index?
Thanks.
On Thu, Sep 27, 2012 at 2:27 PM, Kissue Kissue kissue...@gmail.com wrote:
Actually this problem occurs even when i am doing just deletes. I tested
by sending only one delete query for a single catalogue
#What is the field type for that field - string or text?
It is a string type.
Thanks.
On Wed, Sep 26, 2012 at 8:14 PM, Jack Krupansky j...@basetechnology.comwrote:
What is the field type for that field - string or text?
-- Jack Krupansky
-Original Message- From: Kissue Kissue
no reason to optimize twice. Actually, the new thinking is
that
optimizing usually isn't necessary anyway. But if you insist on optimizing
there's no reason to do it _both_ after the deletes and after the adds,
just
do it after the adds.
Best
Erick
On Thu, Sep 27, 2012 at 4:31 AM, Kissue
in this case since when a search is done for the same catalogueId without
the quotes it just simply returns no results?
Thanks.
On Mon, Sep 24, 2012 at 3:12 PM, Kissue Kissue kissue...@gmail.com wrote:
Hi Erick,
Thanks for your reply. Yes i am using delete by query. I am currently
logging
: Ncl_MacNaughtonMcGregorCoaching_vf010811.
Thanks.
On Wed, Sep 26, 2012 at 2:37 PM, Jack Krupansky j...@basetechnology.comwrote:
It is looking for documents with Emory in the specified field OR Labs
in the default search field.
-- Jack Krupansky
-Original Message- From: Kissue Kissue
Sent: Wednesday
Hi,
I am running Solr 3.5, using SolrJ and using StreamingUpdateSolrServer to
index and delete items from solr.
I basically index items from the db into solr every night. Existing items
can be marked for deletion in the db and a delete request sent to solr to
delete such items.
My process runs
deleted or added to the index and go from there.
Best
Erick
On Mon, Sep 24, 2012 at 6:55 AM, Kissue Kissue kissue...@gmail.com
wrote:
Hi,
I am running Solr 3.5, using SolrJ and using StreamingUpdateSolrServer to
index and delete items from solr.
I basically index items from the db
: Kissue Kissue
Sent: Sunday, June 17, 2012 7:40 AM
To: solr-user@lucene.apache.org
Subject: StreamingUpdateSolrServer - Failure during indexing
Hi,
Using the StreamingUpdateSolrServer, does anybody know how i can get the
list of documents that failed during indexing so maybe i can
.
Best
Erick
On Thu, Jun 28, 2012 at 11:10 AM, Kissue Kissue kissue...@gmail.com
wrote:
Hi,
When defining a fieldtype is it compulsory to include a tokenizer in its
definition?
I have a field defined as follows without tokenizer:
fieldType name=lowercase_pattern class=solr.TextField
Hi,
I Want to know if it is in any way possible for me to do this Solr:
1. Store this field in Solr index - AB-CD-EF-*
2. Do a search for AB-CD-EF-GH and return back AB-CD-EF-*
Thanks.
The analysis page is your best friend in these circumstances. Use the
analysis page in solr admin and turn verbose output for both index and
query and see what the analysis chain looks like. You maybe able to find
the culprit.
On Thu, Jun 28, 2012 at 10:57 AM, Arkadi Colson ark...@smartbit.be
Hi,
Using the StreamingUpdateSolrServer, does anybody know how i can get the
list of documents that failed during indexing so maybe i can index them
later? Is it possible? I am using Solr 3.5 with SolrJ.
Thanks.
/apache/solr/client/solrj/impl/StreamingUpdateSolrServer.html
I think the default is coming from your OS if you are not setting it
explicitly.
--
Sami Siren
On Fri, Jun 15, 2012 at 8:22 PM, Kissue Kissue kissue...@gmail.com
wrote:
Hi,
Does anybody know what the default connection timeout
Hi,
Does anybody know what the default connection timeout setting is for
StreamingUpdateSolrServer? Can i explicitly set one and how?
Thanks.
, make exact matches score higher than
stemmed matches.
Best
Erick
On Thu, Apr 12, 2012 at 5:18 AM, Kissue Kissue kissue...@gmail.com
wrote:
Hi,
I have a field in my index called itemDesc which i am applying
EnglishMinimalStemFilterFactory to. So if i index a value to this field
Hi,
I have a field in my index called itemDesc which i am applying
EnglishMinimalStemFilterFactory to. So if i index a value to this field
containing Edges, the EnglishMinimalStemFilterFactory applies stemming
and Edges becomes Edge. Now when i search for Edges, documents with
Edge score better
Hi,
I am using the edismax query handler with solr 3.5. From the Solr admin
interface when i do a wildcard search with the string: edge*, all documents
are returned with exactly the same score. When i do the same search from my
application using SolrJ to the same solr instance, only a few
Correction, this difference betweeen Solr admin scores and SolrJ scores
happens with leading wildcard queries e.g. *edge
On Thu, Apr 12, 2012 at 8:13 PM, Kissue Kissue kissue...@gmail.com wrote:
Hi,
I am using the edismax query handler with solr 3.5. From the Solr admin
interface when i do
Hi,
Are any of you using Solr Http caching? I am interested to see how people
use this functionality. I have an index that basically changes once a day
at midnight. Is it okay to enable Solr Http caching for such an index and
set the max age to 1 day? Any potential issues?
I am using solr 3.5
Hi,
Maybe there is something i am missing here but i have a field in my solr
index called categoryId. The field definition is as follows:
field name=categoryId type=string indexed=true stored=true
required=true /
I am trying to group on this field and i get a result as follows:
str
Hi,
I have come across this query in the admin interface: *.*
Is this meant to match all documents in my index?
Currently when i run query with q= *.*, numFound is 130310 but the actuall
number of documents in my index is 603308.
Shen i then run the query with q = * then numFound is 603308
Hi Simon,
Thanks for this. Query time dramatically reduced to 27ms with this.
Many thanks.
On Tue, Dec 13, 2011 at 4:20 PM, Simon Willnauer
simon.willna...@googlemail.com wrote:
try *:* instead of *.*
simon
On Tue, Dec 13, 2011 at 5:03 PM, Kissue Kissue kissue...@gmail.com
wrote:
Hi
Hi,
I ran some jmeter load testing on my solr instance version 3.5.0 running on
tomcat 6.6.29 using 1000 concurrent users and the error below is thrown
after a certain number of requests. My solr configuration is basically the
default configuration at this time. Has anybody done soemthing
After migrating to Solr 3.5, i restart tomcat and i get the error below.
Any ideas what i am doing wrong?
SEVERE: org.apache.solr.common.SolrException: Invalid luceneMatchVersion
'LUCENE_35', valid values are: [LUCENE_20, LUCENE_21, LUCENE_22, LU
CENE_23, LUCENE_24, LUCENE_29, LUCENE_30,
I just migrated to Solr 3.5 and whenever i start it up i get the error
below. Any ideas what might be wrong? Previously i didn't have to do
anything special to get it to work. HAs anything changed in solr 3.5?
08-Dec-2011 10:45:03 org.apache.solr.common.SolrException log
SEVERE:
Thanks Marcus. To resolve this problem i just added a shared lib folder for
my cores and added the velocity jars in this folder and that resolved the
error. I hope it was the right thing to do though.
Thanks.
On Thu, Dec 8, 2011 at 11:20 AM, Markus Jelsma
markus.jel...@openindex.iowrote:
From
Hi,
I was just testing field collapsing in my solr admin on solr 3.5.0. I have
observed that the results of field collapsing are not being cached unlike
other solr query results. Am doing the same query multiple times and the
time taken still remains approximately the same. Is there something i
Sorry if this question sounds stupid but i am really really confused about
this. Is there actually a difference between field collapsing and result
grouping in SOLR?
I have come across articles that have talked about setting up field
collapsing with commands that look different from the grouping
Hi,
I am using Solr 3.3 with SolrJ. Does anybody know how i can use result
grouping with SolrJ? Particularly how i can retrieve the result grouping
results with SolrJ?
Any help will be much appreciated.
Thanks.
can access the grouping results by simply
traversing the various named lists.
*Juan*
On Wed, Dec 7, 2011 at 1:22 PM, Kissue Kissue kissue...@gmail.com wrote:
Hi,
I am using Solr 3.3 with SolrJ. Does anybody know how i can use result
grouping with SolrJ? Particularly how i can
Hi,
I am using solr 3.3. I noticed that after indexing about 700, 000 records
and running optimization at the end, i still have about 91 files in my index
directory. I thought that optimization was supposed to reduce the number of
files.
My settings are the default that came with Solr
Vadim
2011/9/28 Manish Bafna manish.bafna...@gmail.com
Try to do optimize twice.
The 2nd one will be quick and will delete lot of files.
On Wed, Sep 28, 2011 at 5:26 PM, Kissue Kissue kissue...@gmail.com
wrote:
Hi,
I am using solr 3.3. I noticed that after indexing about 700
Hi,
I am using solr 3.3 running on a linux box. For some reason when i make a
request to solr on my windows box, i do not get bad request error but when i
run it on my linux box, i get bad request. On the linux box, i have both my
application and solr deployed on the same tomcat instance.
Below
Hi,
I am using solr 3.3 with SolrJ. I am trying to use EdgeNgram to power auto
suggest feature in my application. My understanding is that using EdgeNgram
would mean that results will only be returned for records starting with the
search criteria but this is not happening for me.
For example if
Hi,
I am using solr 3.3 with SolrJ. Does anybody have any idea how i can
retrieve JSON response with SolrJ? Is it possible? It seems to be more
focused on XML and Beans.
Thanks.
Hi,
Is there a way to use BigDecimal as a data type in solr? I am using solr
3.3.
Thanks.
/2011 12:16 PM, Kissue Kissue wrote:
I was reading about DIH on the this Wiki link :
http://wiki.apache.org/solr/**DataImportHandler#A_shorter_**data-confighttp://wiki.apache.org/solr/DataImportHandler#A_shorter_data-config
The following was said about entity primary key: is *optional* and only
Hi,
Please does anybody know what configurations i need to have in order for
Solr to generate the unique key automatically? I am using solr 3.3.0. I have
the following fieldtype:
fieldType name=id_uuid class=solr.UUIDField indexed=true
required=true/
Thanks.
Sorry i found the solution. Many thanks.
On Sun, Sep 4, 2011 at 5:39 PM, Kissue Kissue kissue...@gmail.com wrote:
Hi,
Please does anybody know what configurations i need to have in order for
Solr to generate the unique key automatically? I am using solr 3.3.0. I have
the following fieldtype
Hi,
I was reading about DIH on the this Wiki link :
http://wiki.apache.org/solr/DataImportHandler#A_shorter_data-config
The following was said about entity primary key: is *optional* and only
needed when using delta-imports. Does this mean that the primary key is
mandatory for delta imports? I am
Hi,
I am using apache solr 3.3.0 with SolrJ on a linux box.
I am getting the error below when indexing kicks in:
2011-09-02 10:35:01,617 ERROR
[org.apache.solr.client.solrj.impl.StreamingUpdateSolrServer] - error
java.lang.Exception: Not Implemented
Does anybody have any idea why this error
I am using SolrJ with Solr 3.3.0 over HTTPS and getting the following
exception:
2011-09-02 12:42:08,111 ERROR
[org.apache.solr.client.solrj.impl.StreamingUpdateSolrServer] - error
java.lang.Exception: Not Implemented
Just wanted to find out if there is anything special i need to do in order
to
might find useful -- see
http://www.lucidimagination.com/search/document/a553f89beb41e39a/how_to_use_solrj_self_signed_cert_ssl_basic_auth#a553f89beb41e39a
-Simon
On Fri, Sep 2, 2011 at 7:53 AM, Kissue Kissue kissue...@gmail.com wrote:
I am using SolrJ with Solr 3.3.0 over HTTPS and getting
:43 AM, Kissue Kissue kissue...@gmail.com wrote:
Hi,
I am using apache solr 3.3.0 with SolrJ on a linux box.
I am getting the error below when indexing kicks in:
2011-09-02 10:35:01,617 ERROR
[org.apache.solr.client.solrj.impl.StreamingUpdateSolrServer] - error
java.lang.Exception
Hi,
I am using the SolrJ client library and using a POJO with the @Field
annotation to index documents and to retrieve documents from the index. I
retrieve the documents from the index like so:
ListItem beans = response.getBeans(Item.class)
Now in order to add the scores to the beans i added a
I think this is correct behaviour. If you go to google and search for Tel,
you will see that telephone is highlighted.
On Fri, Aug 5, 2011 at 5:42 PM, Ahmed Boubaker
abdeka.boubake...@gmail.comwrote:
Hi,
I am using solr 3 and highlighting is working fine. However when using
prefix query
get the number of results and
then
look at the last document and check its score. I believe the results will
be ordered by score?
On 08/04/2011 05:44 PM, Kissue Kissue wrote:
Hi,
I am using Solr 3.1 with the SolrJ client library. I can see that it is
possible to get the maximum score
Hi,
I am using Solr 3.1 with the SolrJ client library. I can see that it is
possible to get the maximum score for your search by using the following:
response.getResults().getMaxScore()
I am wondering is there some simple solution to get the minimum score?
Many thanks.
Hi,
I am using Solr 3.1 with SolrJ. I have a field called supplierName in my
index which i am trying to do filtering on. When i select about 5 suppliers
to filter on at the same time and use their supplier name to contruct a
filter query i do not get any results but when i filter which each
:
supplierName:FIRST
supplierName:SECOND
etc..
HTH
edo
On Thu, Jul 14, 2011 at 2:18 PM, Kissue Kissue kissue...@gmail.com
wrote:
Hi,
I am using Solr 3.1 with SolrJ. I have a field called supplierName in my
index which i am trying to do filtering on. When i select about 5
suppliers
have in supplierName both first and second
Edo
On Thu, Jul 14, 2011 at 3:00 PM, Kissue Kissue kissue...@gmail.com
wrote:
Thanks for your response.
Actually the elements are composed as follows:
fq=firstfq=second
But using Solr admin query screen i have modified the query
...
HTH
Edo
On Thu, Jul 14, 2011 at 3:50 PM, Kissue Kissue kissue...@gmail.com
wrote:
No its not a multivalue field. Yes i can see that it looks like its doing
an
AND on all the filter values but how can i get it to do an OR?
I just want it to return documents that have any
I have eventually gotten it to work with the following:
fq=supplierName:first + supplierName:second + supplierName:third
...
Thanks.
On Thu, Jul 14, 2011 at 4:14 PM, Kissue Kissue kissue...@gmail.com wrote:
I have tried this but not working too. Thanks for your help.
On Thu, Jul 14
Hi,
I am using Solr 3.1 and using the SolrJ client. Does anyone know how i can
get the *TOTAL* number of matched documents returned with the QueryResponse?
I am interested in the total documents matched not just the result returned
with the limit applied. Any help will be appreciated.
Thanks.
Thanks Michael. Quite helpful.
On Thu, Jun 30, 2011 at 4:06 PM, Michael Ryan mr...@moreover.com wrote:
SolrDocumentList docs = queryResponse.getResults();
long totalMatches = docs.getNumFound();
-Michael
Hi,
I have the following situation:
1. I am using Solr 3.1
2. I am using the edismax query handler for my queries
3. I am using the SolrJ client library
4. Currently i have configured the fields i want to search on and the bosst
factors in solr config.
But i have just been told that we would
Many thanks for the tip. I will give it a go.
On Tue, Jun 21, 2011 at 11:48 AM, Ahmet Arslan iori...@yahoo.com wrote:
--- On Tue, 6/21/11, Kissue Kissue kissue...@gmail.com wrote:
From: Kissue Kissue kissue...@gmail.com
Subject: Applying boost factors at run time
To: solr-user
to me how to get the score doing a bean search.
Thanks.
On Mon, May 23, 2011 at 4:47 PM, Anuj Kumar anujs...@gmail.com wrote:
Hi,
On Mon, May 23, 2011 at 8:52 PM, Kissue Kissue kissue...@gmail.com
wrote:
Thanks Anuj for your reply. Would it then include it as a field in my
POJO?
I
Hi,
I am currently using Solr and indexing/reading my documents as POJO. The
question i have is how can i include the score in the POJO for each document
found in the index?
Thanks.
understand by your description of POJOs), you can
add the score by setting the property IncludeScore to true. For example-
SolrQuery query = new SolrQuery().
setQuery(keyword).
*setIncludeScore(true);*
Regards,
Anuj
On Mon, May 23, 2011 at 8:31 PM, Kissue Kissue kissue...@gmail.com
61 matches
Mail list logo