Re: [Solrj 4.0] No group response

2012-11-30 Thread Kissue Kissue
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

Re: Items disappearing from Solr index

2012-10-30 Thread Kissue Kissue
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

Re: Items disappearing from Solr index

2012-09-27 Thread Kissue Kissue
#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

Re: Items disappearing from Solr index

2012-09-27 Thread 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

Re: Items disappearing from Solr index

2012-09-26 Thread Kissue 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

Re: Items disappearing from Solr index

2012-09-26 Thread Kissue Kissue
: 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

Items disappearing from Solr index

2012-09-24 Thread Kissue Kissue
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

Re: Items disappearing from Solr index

2012-09-24 Thread Kissue Kissue
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

Re: StreamingUpdateSolrServer - Failure during indexing

2012-09-04 Thread Kissue Kissue
: 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

Re: Is it compulsory to define a tokenizer when defining field types in solr

2012-06-29 Thread Kissue Kissue
. 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

Searching against stored wild cards

2012-06-29 Thread Kissue Kissue
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.

Re: searching for more then one word

2012-06-28 Thread Kissue Kissue
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

StreamingUpdateSolrServer - Failure during indexing

2012-06-17 Thread Kissue Kissue
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.

Re: StreamingUpdateSolrServer Connection Timeout Setting

2012-06-16 Thread Kissue Kissue
/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

StreamingUpdateSolrServer Connection Timeout Setting

2012-06-15 Thread Kissue Kissue
Hi, Does anybody know what the default connection timeout setting is for StreamingUpdateSolrServer? Can i explicitly set one and how? Thanks.

Re: Solr Scoring

2012-04-13 Thread Kissue Kissue
, 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

Solr Scoring

2012-04-12 Thread Kissue Kissue
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

Wildcard searching

2012-04-12 Thread Kissue Kissue
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

Re: Wildcard searching

2012-04-12 Thread Kissue Kissue
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

Solr Http Caching

2012-04-11 Thread Kissue Kissue
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

Problem with result grouping

2011-12-13 Thread Kissue Kissue
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

Matching all documents in the index

2011-12-13 Thread 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

Re: Matching all documents in the index

2011-12-13 Thread Kissue Kissue
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

Solr Load Testing

2011-12-12 Thread Kissue Kissue
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

Re: Lucene version error after migrating to Solr 3.5

2011-12-08 Thread Kissue Kissue
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,

solr.VelocityResponseWriter error in version 3.5.0

2011-12-08 Thread Kissue Kissue
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:

Re: solr.VelocityResponseWriter error in version 3.5.0

2011-12-08 Thread Kissue Kissue
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

Field collapsing results caching

2011-12-08 Thread Kissue Kissue
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

Difference between field collapsing and result grouping

2011-12-07 Thread Kissue Kissue
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

Using result grouping with SolrJ

2011-12-07 Thread Kissue Kissue
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.

Re: Using result grouping with SolrJ

2011-12-07 Thread Kissue Kissue
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

Still too many files after running solr optimization

2011-09-28 Thread Kissue Kissue
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

Re: Still too many files after running solr optimization

2011-09-28 Thread Kissue Kissue
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

Bad Request accessing solr on linux

2011-09-22 Thread Kissue Kissue
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

Problem using EdgeNGram

2011-09-21 Thread Kissue Kissue
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

JSON response with SolrJ

2011-09-21 Thread Kissue Kissue
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.

BigDecimal data type

2011-09-14 Thread Kissue Kissue
Hi, Is there a way to use BigDecimal as a data type in solr? I am using solr 3.3. Thanks.

Re: DIH primary key

2011-09-05 Thread Kissue Kissue
/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

Automatically generating unique key

2011-09-04 Thread Kissue Kissue
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.

Re: Automatically generating unique key

2011-09-04 Thread Kissue Kissue
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

DIH primary key

2011-09-04 Thread Kissue Kissue
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

java.lang.Exception: Not Implemented

2011-09-02 Thread Kissue Kissue
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

Using SolrJ over HTTPS

2011-09-02 Thread Kissue Kissue
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

Re: Using SolrJ over HTTPS

2011-09-02 Thread Kissue Kissue
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

Re: java.lang.Exception: Not Implemented

2011-09-02 Thread Kissue Kissue
: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

Scoring using POJO/SolrJ

2011-08-08 Thread Kissue Kissue
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

Re: highlight on prefix query

2011-08-06 Thread Kissue Kissue
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

Re: Minimum Score

2011-08-05 Thread Kissue Kissue
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

Re: Minimum Score

2011-08-04 Thread Kissue Kissue
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.

Problem with Filter Query

2011-07-14 Thread Kissue Kissue
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

Re: Problem with Filter Query

2011-07-14 Thread Kissue Kissue
: 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

Re: Problem with Filter Query

2011-07-14 Thread Kissue Kissue
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

Re: Problem with Filter Query

2011-07-14 Thread Kissue Kissue
... 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

Re: Problem with Filter Query

2011-07-14 Thread Kissue Kissue
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

Returning total matched document count with SolrJ

2011-06-30 Thread Kissue Kissue
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.

Re: Returning total matched document count with SolrJ

2011-06-30 Thread Kissue Kissue
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

Applying boost factors at run time

2011-06-21 Thread Kissue Kissue
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

Re: Applying boost factors at run time

2011-06-21 Thread Kissue Kissue
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

Re: Including Score in Solr POJO

2011-05-24 Thread Kissue Kissue
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

Including Score in Solr POJO

2011-05-23 Thread Kissue Kissue
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.

Re: Including Score in Solr POJO

2011-05-23 Thread Kissue Kissue
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