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
deas why 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 wrote:
> Actually this problem occurs even when i am doing just deletes. I tested
> by sending only one delete query for a single catalogue
It is really not fixed. It could also be *-*-BAAN or BAAN-CAN20-*. In each
i just want only the fixed character(s) to match then the * can match any
character.
On Wed, Oct 10, 2012 at 2:05 PM, Toke Eskildsen wrote:
> On Wed, 2012-10-10 at 14:15 +0200, Kissue Kissue wrote:
> > I have
I'm grasping at straws.
>
> BTW, there's 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,
>
#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 wrote:
> What is the field type for that field - string or text?
>
>
> -- Jack Krupansky
>
> -Original Message- From: Kissue Kissue
f a
catalogueId with the value: "Ncl_MacNaughtonMcGregorCoaching_vf010811".
Thanks.
On Wed, Sep 26, 2012 at 2:37 PM, Jack Krupansky wrote:
> It is looking for documents with "Emory" in the specified field OR "Labs"
> in the default search field.
>
> -- Jack Krupansky
>
&g
orrect behaviour be not to delete anything at all
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 wrote:
> Hi Erick,
>
> Thanks for your reply. Yes i am usin
t
> it thinks is has deleted or added to the index and go from there.
>
> Best
> Erick
>
> On Mon, Sep 24, 2012 at 6:55 AM, Kissue Kissue
> wrote:
> > Hi,
> >
> > I am running Solr 3.5, using SolrJ and using StreamingUpdateSolrServer to
> > index and d
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 a
t; > method, which presumably has the request options (unless they were
> encoded
> > in the body of the request as multipart form data.)
> >
> > -- Jack Krupansky
> >
> > -Original Message- From: Kissue Kissue
> > Sent: Sunday, June 17, 2012 7:40 AM
> > To: solr-
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.
>
> Best
> Erick
>
> On Thu, Jun 28, 2012 at 11:10 AM, Kissue Kissue
> wrote:
> > Hi,
> >
> > When defining a fieldtype is it compulsory to include a tokenizer in its
> > definition?
> >
> > I have a field def
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 wrote:
> Hi
>
> I in
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.
lr/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
> wrote:
> > Hi,
> >
> > Does anybody k
Hi,
Does anybody know what the default connection timeout setting is for
StreamingUpdateSolrServer? Can i explicitly set one and how?
Thanks.
> No, I don't think there's an OOB way to make this happen. It's
> >> a recurring theme, "make exact matches score higher than
> >> stemmed matches".
> >>
> >> Best
> >> Erick
> >>
> >> On Thu, Apr 12, 2012 a
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 wrote:
> Hi,
>
> I am using the edismax query handler with solr 3.5. From the Solr admin
> interface when i d
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 document
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
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 wit
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
>
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 which
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:
I am trying to group on this field and i get a result as follows:
43201810
This is the query i am sending to solr:
http://localhost:8080/solr/catalogue
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 similar?
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 n
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
wrote:
> From the changelog:
>
>
> 187
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: org.apache.solr.c
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, LUCENE_31
you can access the grouping results by simply
> traversing the various named lists.
>
> *Juan*
>
>
>
> On Wed, Dec 7, 2011 at 1:22 PM, Kissue Kissue wrote:
>
> > Hi,
> >
> > I am using Solr 3.3 with SolrJ. Does anybody know how i can use result
> &g
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.
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 o
Hi
I am using solr 3.3 and solrJ. I have two date fields launch_date and
expiry_date. Now i want to be able to do a search for products that have not
expired. So basically i want to select products with launch_date < today AND
expiry_date > Today. Any pointers on how i can formulate such a query t
is your optimize command ?
>
> Regards
> Vadim
>
>
>
> 2011/9/28 Manish Bafna
>
> > 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
> > wrote:
> >
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 (mergefact
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 i
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,
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 i
Hi,
Is there a way to use BigDecimal as a data type in solr? I am using solr
3.3.
Thanks.
PM, Kissue Kissue wrote:
>
>> I was reading about DIH on the this Wiki link :
>> http://wiki.apache.org/solr/**DataImportHandler#A_shorter_**data-config<http://wiki.apache.org/solr/DataImportHandler#A_shorter_data-config>
>> The following was said about entity primary key: &qu
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 a
Sorry i found the solution. Many thanks.
On Sun, Sep 4, 2011 at 5:39 PM, Kissue Kissue 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 foll
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:
Thanks.
2, 2011 at 5:43 AM, Kissue Kissue 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
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 wrote:
>
> > I am using SolrJ with Solr 3.3.0 over HTTP
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 u
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 may
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:
List beans = response.getBeans(Item.class)
Now in order to add the scores to the beans i added a field
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
wrote:
> Hi,
>
> I am using solr 3 and highlighting is working fine. However when using
> prefix query like tel*, the highlighte
et 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
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.
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 wrote:
> I have tried this but not working too. Thanks for your help.
;
> HTH
>
> Edo
>
>
> On Thu, Jul 14, 2011 at 3:50 PM, Kissue Kissue
> 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 i
> so your document must have in supplierName both "first" and "second"
>
> Edo
>
>
> On Thu, Jul 14, 2011 at 3:00 PM, Kissue Kissue
> wrote:
>
> > Thanks for your response.
> >
> > Actually the elements are composed as follows:
> > &am
your array composed in this way:
> supplierName:FIRST
> supplierName:SECOND
> etc..
>
> HTH
> edo
>
> On Thu, Jul 14, 2011 at 2:18 PM, Kissue Kissue
> wrote:
>
> > Hi,
> >
> > I am using Solr 3.1 with SolrJ. I have a field called supplierName in my
> > index which
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
indivi
Thanks Michael. Quite helpful.
On Thu, Jun 30, 2011 at 4:06 PM, Michael Ryan wrote:
> SolrDocumentList docs = queryResponse.getResults();
> long totalMatches = docs.getNumFound();
>
> -Michael
>
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.
Many thanks for the tip. I will give it a go.
On Tue, Jun 21, 2011 at 11:48 AM, Ahmet Arslan wrote:
>
>
> --- On Tue, 6/21/11, Kissue Kissue wrote:
>
> > From: Kissue Kissue
> > Subject: Applying boost factors at run time
> > To: solr-user@lucene.apache.org
&g
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 nee
how to get the score doing a bean search.
Thanks.
On Mon, May 23, 2011 at 4:47 PM, Anuj Kumar wrote:
> Hi,
>
> On Mon, May 23, 2011 at 8:52 PM, Kissue Kissue
> wrote:
>
> > Thanks Anuj for your reply. Would it then include it as a field in my
> POJO?
> >
>
>
rstand 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:
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.
63 matches
Mail list logo