Re: Solr Cloud Stress Test

2015-01-17 Thread Rafał Kuć
to have a lot of them, so they don't repeat) and run them against Solr. Again you can use a tool like JMeter, create a test plan and run a tests with different number of threads until you find a point where Solr just can't handle more. -- Regards, Rafał Kuć Performance Monitoring * Log Analytics

Replicating external field files under Windows

2015-01-15 Thread Rafał Kuć
experience with Windows, replication and external field type files? -- Regards, Rafał Kuć Sematext :: http://sematext.com/ :: Solr - Lucene - ElasticSearch

Re: Query about vacuum full

2014-07-28 Thread Rafał Kuć
Hello! Please refer to PostgreSQL mailing list with this question. This question is purely about that database and this mailing list is about Solr. -- Regards, Rafał Kuć Performance Monitoring * Log Analytics * Search Analytics Solr Elasticsearch Support * http://sematext.com/ Hi, I am

Re: Java heap Space error

2014-07-22 Thread Rafał Kuć
Hello! Yes, just edit your Jetty configuration file and add -Xmx and -Xms parameters. For example, the file you may be looking at it /etc/default/jetty. -- Regards, Rafał Kuć Performance Monitoring * Log Analytics * Search Analytics Solr Elasticsearch Support * http://sematext.com/ So can

Re: [ANNOUNCE] Apache Solr 4.8.0 released

2014-04-29 Thread Rafał Kuć
Hello! You don't need the fields and types section anymore, you can just include type or field definition anywhere in the schema.xml section. You can find more in https://issues.apache.org/jira/browse/SOLR-5228 -- Regards, Rafał Kuć Performance Monitoring * Log Analytics * Search Analytics

Re: DIH issues with 4.7.1

2014-04-26 Thread Rafał Kuć
://docs.oracle.com/javase/7/docs/api/java/lang/System.html -- Regards, Rafał Kuć Performance Monitoring * Log Analytics * Search Analytics Solr Elasticsearch Support * http://sematext.com/ Hi I have just compare the difference between the version 4.6.0 and 4.7.1. Notice that the time

Re: Error on startup

2014-04-24 Thread Rafał Kuć
Hello! What are the start-up parameters for Tomcat? -- Regards, Rafał Kuć Performance Monitoring * Log Analytics * Search Analytics Solr Elasticsearch Support * http://sematext.com/ Running Solr 4.6.1, Tomcat 7.0.29, Zookeeper 3.4.6, Java 6 I have 3 Tomcats running, each with their own

Re: Error on startup

2014-04-24 Thread Rafał Kuć
Hello! You have bootstrap_conf=true. It uploads a configuration set for each core in the solr.xml file. I would suggest dropping that parameter and upload the configuration once, using the scripts provided with Solr. -- Regards, Rafał Kuć Performance Monitoring * Log Analytics * Search

Re: Transformation on a numeric field

2014-04-15 Thread Rafał Kuć
field. -- Regards, Rafał Kuć Performance Monitoring * Log Analytics * Search Analytics Solr Elasticsearch Support * http://sematext.com/ Hi All, I am looking for a way to index a numeric field and its value divided by 1 000 into another numeric field. I thought about using a CopyField

Re: Solr dosn't load index at startup: out of memory

2014-04-11 Thread Rafał Kuć
Hello! Do you have warming queries defined? -- Regards, Rafał Kuć Performance Monitoring * Log Analytics * Search Analytics Solr Elasticsearch Support * http://sematext.com/ Hi, my solr (v. 4.5) after moths of work suddenly stopped to index: it responded at the query but didn't index

Re: SolrCloud 4.6.1 hanging

2014-03-29 Thread Rafał Kuć
Hello! I've created SOLR-5935, please let me know if some more information is needed. I'll be glad to help on the issue. -- Regards, Rafał Kuć Performance Monitoring * Log Analytics * Search Analytics Solr Elasticsearch Support * http://sematext.com/ I'm looking into a hang as well

SolrCloud 4.6.1 hanging

2014-03-28 Thread Rafał Kuć
anyone encountered similar behavior? -- Regards, Rafał Kuć Sematext :: http://sematext.com/ :: Solr - Lucene - ElasticSearch

Re: stored=true vs stored=false, in terms of storage

2014-03-26 Thread Rafał Kuć
Hello! Stored fields, the one with stored=true, mean that the original value of the field is stored and can be retrieved with the document in search results. Fields marked as stored=false can't be retrieved during searching. That is the difference. -- Regards, Rafał Kuć Performance Monitoring

Re: organize folder inside Solr

2014-03-08 Thread Rafał Kuć
Hello! There are multiple tutorials on how to do this, for example: 1. http://solr.pl/en/2011/03/21/solr-and-tika-integration-part-1-basics/ 2. http://wiki.apache.org/solr/ExtractingRequestHandler -- Regards, Rafał Kuć Performance Monitoring * Log Analytics * Search Analytics Solr

Re: Using numeric ranges in Solr query

2014-02-12 Thread Rafał Kuć
Hello! Just specify the left boundary, like: price:[900 TO 1000] -- Regards, Rafał Kuć Performance Monitoring * Log Analytics * Search Analytics Solr Elasticsearch Support * http://sematext.com/ When user enter a price in price field, for Ex: 1000 USD, i want to fetch all items with price

Re: Realtimeget SolrCloud

2014-01-31 Thread Rafał Kuć
/requestHandler -- Regards, Rafał Kuć Performance Monitoring * Log Analytics * Search Analytics Solr Elasticsearch Support * http://sematext.com/ Hello, I am currently experimenting to move our Solr instance into a SolrCloud setup. I am getting an error trying to access the realtimeget handlers

Re: Realtimeget SolrCloud

2014-01-31 Thread Rafał Kuć
Hello! No problem. Also remember that you need the _version_ field to be present in your schema. -- Regards, Rafał Kuć Performance Monitoring * Log Analytics * Search Analytics Solr Elasticsearch Support * http://sematext.com/ That seemed to be the issue. I had several other request

ODP: How to get phrase recipe working?

2014-01-21 Thread Rafał Kuć
Hello, Phrase search will work on any analyzed field if you will use the to sorround your phrase. Are you looking for something specific or a standard phrase search? Also - if you are looking for exact phrade search, you may want to remove Snowball filter. Rafał Kuć Oryginalna

Re: Problem with starting solr

2014-01-12 Thread Rafał Kuć
that restart Solr and you should be OK. Btw - you can find the instructions (although a bit old) at: http://solr.pl/2012/04/02/solr-4-0-i-mozliwosci-analizy-jezyka-polskiego/ -- Regards, Rafał Kuć Performance Monitoring * Log Analytics * Search Analytics Solr Elasticsearch Support * http://sematext.com

Re: Solr Query Slowliness

2013-12-26 Thread Rafał Kuć
Hello! Could you tell us more about your scripts? What they do? If the queries are the same? How many results you fetch with your scripts and so on. -- Regards, Rafał Kuć Performance Monitoring * Log Analytics * Search Analytics Solr Elasticsearch Support * http://sematext.com/ Hi all, I

Re: Solr Query Slowliness

2013-12-26 Thread Rafał Kuć
is able to process those. -- Regards, Rafał Kuć Performance Monitoring * Log Analytics * Search Analytics Solr Elasticsearch Support * http://sematext.com/ Thanks Rafal for your reply, My scripts are running on other independent machines so they does not affect Solr, I did mention

Re: Solr Query Slowliness

2013-12-26 Thread Rafał Kuć
you diagnose what the actual problem is, for example (http://sematext.com/spm/index.html). -- Regards, Rafał Kuć Performance Monitoring * Log Analytics * Search Analytics Solr Elasticsearch Support * http://sematext.com/ This an example of a query: http://myip:8080/solr

Re: subscribe for this maillist

2013-12-12 Thread Rafał Kuć
Hello! To subscribe please send a mail to solr-user-subscr...@lucene.apache.org -- Regards, Rafał Kuć Performance Monitoring * Log Analytics * Search Analytics Solr Elasticsearch Support * http://sematext.com/ I want to subscribe for this solr mailing list. Thanks and Best Regards

Re: What is the difference between attorney:(Roger Miller) and attorney:Roger Miller

2013-11-19 Thread Rafał Kuć
Hello! In the first one, the two terms 'Roger' and 'Miller' are run against the attorney field. In the second the 'Roger' term is run against the attorney field and the 'Miller' term is run against the default search field. -- Regards, Rafał Kuć Performance Monitoring * Log Analytics * Search

Re: What is the difference between attorney:(Roger Miller) and attorney:Roger Miller

2013-11-19 Thread Rafał Kuć
the phrase Roger Miller in the attorney field. You may want to look at Lucene query syntax to understand all the differences: http://lucene.apache.org/core/4_5_0/queryparser/org/apache/lucene/queryparser/classic/package-summary.html#package_description -- Regards, Rafał Kuć Performance Monitoring

Re: Solr Synonym issue

2013-11-14 Thread Rafał Kuć
Hello! Could you please describe the issue you are having? -- Regards, Rafał Kuć Performance Monitoring * Log Analytics * Search Analytics Solr Elasticsearch Support * http://sematext.com/ Hi Team, I had implemented solr with my magento enterprise edition. I am trying to implemented

Re: Stop solr service

2013-10-27 Thread Rafał Kuć
. -- Regards, Rafał Kuć Performance Monitoring * Log Analytics * Search Analytics Solr Elasticsearch Support * http://sematext.com/ Hi Team, Pla stop the solr service.

Re: Stop solr service

2013-10-27 Thread Rafał Kuć
Hello! Please look at the Solr user list section of http://lucene.apache.org/solr/discussion.html on how to unsubscribe from the list. -- Regards, Rafał Kuć Performance Monitoring * Log Analytics * Search Analytics Solr Elasticsearch Support * http://sematext.com/ I want to stop the mail

Re: How to configure solr to our java project in eclipse

2013-10-27 Thread Rafał Kuć
Hello! If you really want to go embedded way, please look at http://wiki.apache.org/solr/EmbeddedSolr -- Regards, Rafał Kuć Performance Monitoring * Log Analytics * Search Analytics Solr Elasticsearch Support * http://sematext.com/ Hi friends,Iam giridhar.please clarify my doubt. we

Re: Solr 4.6.0 latest build

2013-10-22 Thread Rafał Kuć
Hello! The current development version of Solr can be found in the SVN repository - https://lucene.apache.org/solr/versioncontrol.html You need to download the source code and build Solr yourself. -- Regards, Rafał Kuć Sematext :: http://sematext.com/ :: Solr - Lucene - ElasticSearch Hi

Re: Solr 4.6.0 latest build

2013-10-22 Thread Rafał Kuć
Hello! Thanks for correction :) Did you report that the issue still persists? -- Regards, Rafał Kuć Performance Monitoring * Log Analytics * Search Analytics Solr Elasticsearch Support * http://sematext.com/ That's not quite right. You don't have to download the source or build

Re: Seeking New Moderators for solr-user@lucene

2013-10-18 Thread Rafał Kuć
Hello! I can help with moderation. -- Regards, Rafał Kuć Sematext :: http://sematext.com/ :: Solr - Lucene - ElasticSearch It looks like it's time to inject some fresh blood into the solr-user@lucene moderation team. If you'd like to volunteer to be a moderator, please reply back

Re: faceting from multiValued field

2013-09-10 Thread Rafał Kuć
Hello! Your field needs to be indexed in order for faceting to work. -- Regards, Rafał Kuć Sematext :: http://sematext.com/ :: Solr - Lucene - ElasticSearch Hi, I am having a problem with multiValued field and Faceting This is the schema: field name=series type=string indexed=false

Re: change schema.xml without bringing down the solr

2013-08-29 Thread Rafał Kuć
to be re-indexed. You can't just add new shard (you can add replicas though), but you can re-shard your current collection. Look at the collections API and the SPLITSHARD command, don't know which Solr you are using, but the SPLITSHARD is supported since Solr 4.3. -- Regards, Rafał Kuć Sematext

Re: Concat 2 fields in another field

2013-08-27 Thread Rafał Kuć
Hello! You don't have to write custom component - you can use ScriptUpdateProcessor - http://wiki.apache.org/solr/ScriptUpdateProcessor -- Regards, Rafał Kuć Sematext :: http://sematext.com/ :: Solr - Lucene - ElasticSearch Hello all , I am using solr 4.x , I have a requirement where I

Re: JSON Update create different copies of the same document

2013-08-08 Thread Rafał Kuć
Hello! Do you have the unique identifier specified in the schema.xml ? -- Regards, Rafał Kuć Sematext :: http://sematext.com/ :: Solr - Lucene - ElasticSearch Hello, I thought that by adding a new document with the same id on Solr the document already on Solr would be updated

Re: Problems installing Solr4 in Jetty9

2013-08-08 Thread Rafał Kuć
Hello! Could you look at the logs and post what you find there? -- Regards, Rafał Kuć Sematext :: http://sematext.com/ :: Solr - Lucene - ElasticSearch I've been unable to install SOLR into Jetty. Jetty seems to be running fine, and this is the steps I took to install solr: # SOLR cd

Re: Enabling DIH breaks Solr4.4

2013-08-08 Thread Rafał Kuć
Hello! Try changing the lib directives to absolute paths, by looking at the exception: Caused by: java.lang.ClassNotFoundException: org.apache.solr.handler.dataimport.DataImportHandler it seems that the DataImportHandler class is not seen by Solr class loader. -- Regards, Rafał Kuć Sematext

Re: Solr search on a large text field is very slow

2013-08-08 Thread Rafał Kuć
Hello! In general, wildcard queries can be expensive. If you need wildcard queries, you can try the EdgeNGram - http://wiki.apache.org/solr/AnalyzersTokenizersTokenFilters#solr.EdgeNGramFilterFactory -- Regards, Rafał Kuć Sematext :: http://sematext.com/ :: Solr - Lucene - ElasticSearch

Re: SolrCloud replication server and Master Server

2013-08-01 Thread Rafał Kuć
will accept indexing requests. -- Regards, Rafał Kuć Sematext :: http://sematext.com/ :: Solr - Lucene - ElasticSearch I have a requirement to set solrcloud with 2 instances of Solr( one on 8080 and otehr on 9090 ports respectivey) and a Zookeeper ensembe( 3 modes). Can I have one solr instance

Re: java.lang.OutOfMemoryError: Requested array size exceeds VM limit

2013-08-01 Thread Rafał Kuć
Hello! The exception you've shown tells you that Solr tried to allocate an array that exceeded heap size. Do you use some custom sorts? Did you send large bulks during the time that the exception occurred? -- Regards, Rafał Kuć Sematext :: http://sematext.com/ :: Solr - Lucene - ElasticSearch

Re: SolrCloud replication server and Master Server

2013-08-01 Thread Rafał Kuć
when creating your collection. -- Regards, Rafał Kuć Sematext :: http://sematext.com/ :: Solr - Lucene - ElasticSearch I am rephrasing my question, Currently what i haev is Solr 8080 - Shard1Shard2- Replica Solr 9090 - Shard 2 Shard 1 - Replica Can we have something like Solr 8080

Re: AND Queries

2013-07-29 Thread Rafał Kuć
. -- Regards, Rafał Kuć Sematext :: http://sematext.com/ :: Solr - Lucene - ElasticSearch I am searching for a keyword as like that: lang:en AND url:book pencil cat It returns me results however none of them includes both book, pencil and cat keywords. How should I rewrite my query? I

Re: Changing the number of shards?

2013-07-06 Thread Rafał Kuć
and cannot be new primary shard The replicas can become new primary shards if something happens to a primary shard - this is similar to what SolrCloud supports. -- Regards, Rafał Kuć Sematext :: http://sematext.com/ :: Solr - Lucene - ElasticSearch Correct. ES currently does not let you change

Re: change solr core schema and config via http

2013-06-28 Thread Rafał Kuć
-3251 -- Regards, Rafał Kuć Sematext :: http://sematext.com/ :: Solr - Lucene - ElasticSearch Hi, I am trying to figure out how to change the schema/config of an existing core or a core to be created via http calls to solr. After spending hours in searching online, I still could not find any

Re: dynamic field

2013-06-17 Thread Rafał Kuć
Hello! Dynamic field is just a regular field from Lucene point of view, so its content will be treated just like the content of other fields. The difference in on the Solr level. -- Regards, Rafał Kuć Sematext :: http://sematext.com/ :: Solr - Lucene - ElasticSearch How is daynamic field

Re: Solr 3.5 Optimization takes index file size almost double

2013-06-13 Thread Rafał Kuć
Hello! Optimize command needs to rewrite the segments, so while it is still working you may see the index size to be doubled. However after it is finished the index size will be usually lowered comparing to the index size before optimize. -- Regards, Rafał Kuć Sematext :: http://sematext.com

Re: Solr 3.5 Optimization takes index file size almost double

2013-06-13 Thread Rafał Kuć
Hello! Do you have some backup after commit in your configuration? It would also be good to see how your index directory looks like, can you list that ? -- Regards, Rafał Kuć Sematext :: http://sematext.com/ :: Solr - Lucene - ElasticSearch Thanks Rafal for reply... I agree with you

Re: FW: Solr and Lucene

2013-06-12 Thread Rafał Kuć
I didn't try it. -- Regards, Rafał Kuć Sematext :: http://sematext.com/ :: Solr - Lucene - Nutch - ElasticSearch Hi, Which lucene version is used with Solr 4.2.1? And is it possible to open it by luke? If not by any other tool? Thanks Thanks

Re: /non/existent/dir/yields/warning

2013-06-03 Thread Rafał Kuć
Hello! You should remove that entry from your solrconfig.xml file. It is something like this: lib dir=/non/existent/dir/yields/warning / -- Regards, Rafał Kuć Sematext :: http://sematext.com/ :: Solr - Lucene - Nutch - ElasticSearch Hi, I am constantly getting this error in my solr

Re: /non/existent/dir/yields/warning

2013-06-03 Thread Rafał Kuć
Hello! That's a good question. I suppose its there to show users how to setup a custom path to libraries. -- Regards, Rafał Kuć Sematext :: http://sematext.com/ :: Solr - Lucene - Nutch - ElasticSearch ok thanks :) But why was it there anyway? I mean it says in comments: If a 'dir

Re: Solr/Lucene Analayzer That Writes To File

2013-05-27 Thread Rafał Kuć
environment. -- Regards, Rafał Kuć Sematext :: http://sematext.com/ :: Solr - Lucene - Nutch - ElasticSearch Hi; I want to use Solr for an academical research. One step of my purpose is I want to store tokens in a file (I will store it at a database later) and I don't want to index them

Re: search filter

2013-05-22 Thread Rafał Kuć
Hello! You can try sending a filter like this fq=Salary:[5+TO+10]+OR+Salary:0 It should work -- Regards, Rafał Kuć Sematext :: http://sematext.com/ :: Solr - Lucene - Nutch - ElasticSearch Dear All Can I write a search filter for a field having a value in a range or a specific value

Re: Mandatory words search in SOLR

2013-05-13 Thread Rafał Kuć
Hello! Change the default query operator. For example add the q.op=AND to your query. -- Regards, Rafał Kuć Sematext :: http://sematext.com/ :: Solr - Lucene - Nutch - ElasticSearch Hi SOLR Experts When I search documents with keyword as *java, mysql* then I get the documents

Re: Indexing Point Number

2013-05-08 Thread Rafał Kuć
this: field name=price19.95/field -- Regards, Rafał Kuć Sematext :: http://sematext.com/ :: Solr - Lucene - Nutch - ElasticSearch Hi, how can I indexing numbers with decimal point. For example: 5,50 109,90 I want to sort the numbers. Thanks

Re: Prediction About Index Sizes of Solr

2013-04-08 Thread Rafał Kuć
Hello! Let me answer the first part of your question. Please have a look at https://svn.apache.org/repos/asf/lucene/dev/trunk/dev-tools/size-estimator-lucene-solr.xls It should help you make an estimation about your index size. -- Regards, Rafał Kuć Sematext :: http://sematext.com/ :: Solr

Re: Don't cache filter queries

2013-03-21 Thread Rafał Kuć
Hello! Just add {!cache=false} to the filter in your query (http://wiki.apache.org/solr/SolrCaching#filterCache). -- Regards, Rafał Kuć Sematext :: http://sematext.com/ :: Solr - Lucene - Nutch - ElasticSearch I need to use the filter query feature to filter my results, but I don't want

Re: Search data who does not have x field

2013-03-13 Thread Rafał Kuć
Hello! You can for example add a filter, that will remove the documents that doesn't have a value in a field, like: fq=!category:[*+TO+*] -- Regards, Rafał Kuć Sematext :: http://sematext.com/ :: Solr - Lucene - Nutch - ElasticSearch Hi all, I am facing a problem. Problem is: I have

Re: Returning to Solr 4.0 from 4.1

2013-03-01 Thread Rafał Kuć
Hello! I suppose the only way to make this work will be reindexing the data. Solr 4.1 uses Lucene 4.1 as you know, which introduced new default codec with stored fields compression and this is one of the reasons you can't read that index with 4.0. -- Regards, Rafał Kuć Sematext :: http

Re: Returning to Solr 4.0 from 4.1

2013-03-01 Thread Rafał Kuć
Hello! As far as I know you have to re-index using external tool. -- Regards, Rafał Kuć Sematext :: http://sematext.com/ :: Solr - Lucene - Nutch - ElasticSearch On Fri, Mar 1, 2013 at 11:59 AM, Rafał Kuć r@solr.pl wrote: Hello! I assumed that re-indexing can be painful in your case

Re: solr 4.1 - trying to create 2 collection with 2 different sets of configurations

2013-02-28 Thread Rafał Kuć
and the COLLECTION_2_NAME are your collection names. Also adjust the numShards and replicationFactor to your needs. -- Regards, Rafał Kuć Sematext :: http://sematext.com/ :: Solr - Lucene - Nutch - ElasticSearch solr 4.1 - trying to create 2 collection with 2 different sets of configurations. Anyone

Re: solr 4.1 - trying to create 2 collection with 2 different sets of configurations

2013-02-28 Thread Rafał Kuć
Hello! Yes I did :) -- Regards, Rafał Kuć Sematext :: http://sematext.com/ :: Solr - Lucene - Nutch - ElasticSearch Thanks I'm going to try this. Have you tried it yourself? -- View this message in context: http://lucene.472066.n3.nabble.com/solr-4-1-trying-to-create-2-collection

Re: id field doesn't match

2013-02-25 Thread Rafał Kuć
Hello! If you what you need is an exact match, try using the simple string type. -- Regards, Rafał Kuć Sematext :: http://sematext.com/ :: Solr - Lucene - Nutch - ElasticSearch Hi all, i have an id field wich always contains a string with that schema vw-200130315- Wich field type

Re: Is solr reindex all documents for each commit?

2013-02-20 Thread Rafał Kuć
Hello! You don't need to re-index all the documents, you only need to index the new ones. -- Regards, Rafał Kuć Sematext :: http://sematext.com/ :: Solr - Lucene - Nutch - ElasticSearch Hi We have a requirement to add 10 or 100 new documents to solr on a daily basis. Our solr

Re: Indexed And Stored

2013-02-12 Thread Rafał Kuć
data, however there are a few limitations. In order to fully reconstruct your documents you would have to have all the fields stored in your index. -- Regards, Rafał Kuć Sematext :: http://sematext.com/ :: Solr - Lucene - Nutch - ElasticSearch hello, in my schema field name=city_name

Re: Maximum Number of Records In Index

2013-02-07 Thread Rafał Kuć
Hello! Right, my bad - ids are still using int32. However, that still gives us 2,147,483,648 possible identifiers right per single index, which is not close to the 13,5 millions mentioned in the first mail. -- Regards, Rafał Kuć Sematext :: http://sematext.com/ :: Solr - Lucene - Nutch

Re: Error setting up SOLR with Tomcat on Windows

2013-01-28 Thread Rafał Kuć
/update -jar post.jar *.xml -- Regards, Rafał Kuć Sematext :: http://sematext.com/ :: Solr - Lucene - Nutch - ElasticSearch (a) I am not using jetty, I am using tomcat as mentioned in the subject line (b) I am using some other port number and that I have included in the url On Monday, January 28

Re: Does solr 4.1 support field compression?

2013-01-24 Thread Rafał Kuć
Hello! It should be turned on by default, because the stored fields compression is the behavior of the default Lucene 4.1 codec. -- Regards, Rafał Kuć Sematext :: http://sematext.com/ :: Solr - Lucene - Nutch - ElasticSearch Hi everyone, I didn't see any mention of field compression

Re: ResultSet Solr

2013-01-23 Thread Rafał Kuć
Hello! Maybe you are looking to get the results in plain text if you want to remove all the XML tags ? If that so, you can try adding wt=csv to get the response as CSV instead of XML. -- Regards, Rafał Kuć Sematext :: http://sematext.com/ :: Solr - Lucene - Nutch - ElasticSearch Thanks

Re: ResultSet Solr

2013-01-23 Thread Rafał Kuć
Hello! As far as I know you can't remove the response, numFound, start and docs. This is how the response is prepared by Solr and apart from removing the header, you can't do anything. -- Regards, Rafał Kuć Sematext :: http://sematext.com/ :: Solr - Lucene - Nutch - ElasticSearch no I

Re: curl with dynamic url not working

2013-01-21 Thread Rafał Kuć
Hello! Try surrounding you URL with ' characters, so the whole command looks like this: curl 'http://127.0.0.1:8080/solr/newsRSS_DIH?command=full-importamp;clean=falseamp;url=http://www.example.com/news' -- Regards, Rafał Kuć Sematext :: http://sematext.com/ :: Solr - Lucene - Nutch

Re: Priorities on fields

2013-01-16 Thread Rafał Kuć
Hello! What do you mean by priority ? You can define index or query time boost. However that will allow to specify the importance of such field. A good page to look at is: http://wiki.apache.org/solr/SolrRelevancyCookbook -- Regards, Rafał Kuć Sematext :: http://sematext.com/ :: Solr

Re: Calculate a sum.

2013-01-14 Thread Rafał Kuć
Hello! Fetching all the documents, especially for a query that returns many documents can be a pain. However there is a StatsComponent (http://wiki.apache.org/solr/StatsComponent) in Solr, however your field would have to be numeric and indexed. -- Regards, Rafał Kuć Sematext :: http

Re: defaultOperator in schema.xml

2013-01-09 Thread Rafał Kuć
Hello! You should set the q.op parameter in your request handler configuration in solrconfig.xml instead of using the default operator from schema.xml. -- Regards, Rafał Kuć Sematext :: http://sematext.com/ :: Solr - Lucene - Nutch - ElasticSearch I'm testing out Solr 4.0. I got the sample

Re: No live SolrServers Solr 4 exceptions on trying to create a collection

2013-01-07 Thread Rafał Kuć
Hello! Can you share the command you use to start all four Solr servers ? -- Regards, Rafał Kuć Sematext :: http://sematext.com/ :: Solr - Lucene - Nutch - ElasticSearch Any clue to why this is happening will be greatly appreciated. This has become a blocker for me. I can use

Re: Is there any C API for Solr??

2013-01-02 Thread Rafał Kuć
Hello! Although not C, but C++ there is a project aiming at this - http://code.google.com/p/solcpp/ However I don't know how usable that is, you can just make pure HTTP calls and process the response. -- Regards, Rafał Kuć Sematext :: http://sematext.com/ :: Solr - Lucene - Nutch

Re: What do I need to research to solve the problem of returning good results for a generic term?

2012-12-28 Thread Rafał Kuć
Hello! Ahmet I think it is available here: http://archive.apachecon.com/eu2012/presentations/07-Wednesday/L1R-Lucene/ -- Regards, Rafał Kuć Sematext :: http://sematext.com/ :: Solr - Lucene - Nutch - ElasticSearch Hi David, Mikhail tackled a similar problem. http://www.apachecon.eu

Re: facet query

2012-12-21 Thread Rafał Kuć
Hello! Try facet.mincount=1, that should help. -- Regards, Rafał Kuć Sematext :: http://sematext.com/ :: Solr - Lucene - Nutch - ElasticSearch Hi, is there a way with facets to say, return facets that are not 0? I have facet=truefacet.field=officefacet.field=name as my facet parameters

Re: Getting error. org.apache.solr.common.SolrException: Error loading class 'org.apache.solr.handler.dataimport.DataImportHandler

2012-12-18 Thread Rafał Kuć
and apache-solr-dataimporthandler-extras-3.6.1.jar to /usr/share/solr/lib ? -- Regards, Rafał Kuć Sematext :: http://sematext.com/ :: Solr - Lucene - Nutch - ElasticSearch I am new for solr. I have installed apache tomcat 7.0 on my server and I have solr 3.6.1 on server. I have solr-home folder

Re: user session id / cookie to record search query

2012-11-21 Thread Rafał Kuć
: [collection1] webapp=/solr path=/select params={q=*:*userId=user1} hits=0 status=0 QTime=1 -- Regards, Rafał Kuć Sematext :: http://sematext.com/ :: Solr - Lucene - Nutch - ElasticSearch Hi All, Do anyone have an idea how to use user session id / cookie to record search query from

Re: user session id / cookie to record search query

2012-11-21 Thread Rafał Kuć
Hello! What Solr are you using ? If not 4.0, information on logging can be found on wiki - http://wiki.apache.org/solr/SolrLogging -- Regards, Rafał Kuć Sematext :: http://sematext.com/ :: Solr - Lucene - Nutch - ElasticSearch Hello Rafał Kuć Thanks a lot for you guidance. I am not quite

Re: Pls help: Very long query - what to do?

2012-11-21 Thread Rafał Kuć
Hello! If you really need a query that long, than one of the things is increase the allowed header length in Jetty. Add the following to your Jetty connector configuration: Set name=headerBufferSize16384/Set -- Regards, Rafał Kuć Sematext :: http://sematext.com/ :: Solr - Lucene - Nutch

Re: SolrCloud and external Zookeeper ensemble

2012-11-21 Thread Rafał Kuć
Hello! As I told I wouldn't use the Zookeeper that is embedded into Solr, but rather setup a standalone one. -- Regards, Rafał Kuć Sematext :: http://sematext.com/ :: Solr - Lucene - Nutch - ElasticSearch First of all: thank you for your answers. Yes, I meant side by side configuration. I

Re: Additional field informations?

2012-11-20 Thread Rafał Kuć
Hello! I think that's not possible out of the box in Solr. -- Regards, Rafał Kuć Sematext :: http://sematext.com/ :: Solr - Lucene - Nutch - ElasticSearch Hello all, We import xml documents to solr with solrj. We use xsl to proccess the objects to fields. We got the language

Re: SOLR USING 100% percent CPU and not responding after a while

2012-11-20 Thread Rafał Kuć
Hello! How about some information how Garbage Collector works during the time when you have Solr unresponsive ? -- Regards, Rafał Kuć Sematext :: http://sematext.com/ :: Solr - Lucene - Nutch - ElasticSearch Hello, We were doing fine with memory, comparitively. This was in a one hour span

Re: Handle Queries which return 1000s of records

2012-11-12 Thread Rafał Kuć
Hello! By pieces you mean by paging the results ? If yes, please look at http://wiki.apache.org/solr/CommonQueryParameters - start and rows parameters. -- Regards, Rafał Kuć Sematext :: http://sematext.com/ :: Solr - Lucene - Nutch - ElasticSearch Hi, I am integrating solr search on my

Re: How to insert documents into differenet indexes

2012-11-11 Thread Rafał Kuć
Hello! Just use the update handler that is specific to a given core. For example if you have two cores named core1 and core2, you should use the following addresses (if you didn't change the default configuration): /solr/core1/update/ and /solr/core2/update/ -- Regards, Rafał Kuć Sematext

Re: Sorting by boolean function

2012-11-07 Thread Rafał Kuć
(start_time:[* TO 1721] AND end_time:[1721 TO *]),100,0)+desc -- Regards, Rafał Kuć Sematext :: http://sematext.com/ :: Solr - Lucene - Nutch - ElasticSearch Hi All, I am trying to sort by a boolean function to sort the places that are open and not open as given below sort=if(exists(start_time

Re: Sorting by boolean function

2012-11-07 Thread Rafał Kuć
:[*+TO+1721] AND end_time:[1721+TO+*]) However remember that exists function is only Solr 4.0. I don't have any example data with me right now, so I can't say if it will work for sure, but clean Solr 4.0 doesn't cry about errors now :) -- Regards, Rafał Kuć Sematext :: http://sematext.com

Re: Retrieve unique documents on a non id field

2012-11-07 Thread Rafał Kuć
Hello! Look at the field collapsing functionality - http://wiki.apache.org/solr/FieldCollapsing It allows you to group documents based on field value, query or function query. -- Regards, Rafał Kuć Sematext :: http://sematext.com/ :: Solr - Lucene - Nutch - ElasticSearch Hi All

Re: SOLR 3.5 sometimes throws java.lang.NumberFormatException: For input string: java.math.BigDecimal:1848.66

2012-10-31 Thread Rafał Kuć
Hello! Look at what Solr returns in the error - you send the following value java.math.BigDecimal:1848.66 - remove the java.math.BigDecimal: and your problem should be gone. -- Regards, Rafał Kuć Sematext :: http://sematext.com/ :: Solr - Lucene - Nutch - ElasticSearch Welcome all, We

Re: facet prefix with tokenized fields

2012-10-29 Thread Rafał Kuć
Hello! Do you have to use faceting for prefixing ? Maybe it would be better to use ngram based field and return the stored value ? -- Regards, Rafał Kuć Sematext :: http://sematext.com/ :: Solr - Lucene - Nutch - ElasticSearch Hi. Is there any solution to facet documents

Re: select one document with a given value for an attribute in a single page

2012-10-29 Thread Rafał Kuć
Hello! Try the grouping feature of Solr - http://wiki.apache.org/solr/FieldCollapsing . You can collapse documents based on the field value, which would be a shop identifier in your case. -- Regards, Rafał Kuć Sematext :: http://sematext.com/ :: Solr - Lucene - Nutch - ElasticSearch I have

Re: Having problem runing apache-solr on my linux server

2012-10-29 Thread Rafał Kuć
application. -- Regards, Rafał Kuć Sematext :: http://sematext.com/ :: Solr - Lucene - Nutch - ElasticSearch hello dear, I try running apache-solr 3.6.1 on my linux host using java -jar start.jar, everything is running fine. but java stop running as soon as the command terminal close. i have

Re: Is it possible to use something like sum() in a solr-query?

2012-10-29 Thread Rafał Kuć
Hello! Take a look at StatsComponent - http://wiki.apache.org/solr/StatsComponent -- Regards, Rafał Kuć Sematext :: http://sematext.com/ :: Solr - Lucene - Nutch - ElasticSearch I have for example an integer field and want to sum all these values for all the matching documents. Similar

Re: Filtering HTML content in Solr 4.0.0

2012-10-26 Thread Rafał Kuć
: lt;nicetag/gt;/field As you can see the and are properly encoded as lt; and gt; -- Regards, Rafał Kuć Sematext :: http://sematext.com/ :: Solr - Lucene - Nutch - ElasticSearch Hi, I am using Solr 4.0.0. I have a HTML content as description of a product. If I index it without any filtering

Re: Filtering HTML content in Solr 4.0.0

2012-10-26 Thread Rafał Kuć
send it to Solr for indexing. -- Regards, Rafał Kuć Sematext :: http://sematext.com/ :: Solr - Lucene - Nutch - ElasticSearch I think you will have to write an UpdateProcessor to strip out html tags. http://wiki.apache.org/solr/UpdateRequestProcessor As per Solr 4.0 you can also use

Re: Occasional Solr performance issues

2012-10-22 Thread Rafał Kuć
have such) and see how long they take. -- Regards, Rafał Kuć Sematext :: http://sematext.com/ :: Solr - Lucene - Nutch - ElasticSearch When Solr is slow, I'm seeing these in the logs: [collection1] Error opening new searcher. exceeded limit of maxWarmingSearchers=2,​ try again later

Re: Error: _version_field must exist in schema

2012-10-18 Thread Rafał Kuć
documents update). You can also add _version_ field to your schema and forget about it. You don't need to do anything with it as it is used internally by Solr. -- Regards, Rafał Kuć Sematext :: http://sematext.com/ :: Solr - Lucene - Nutch - ElasticSearch On Thu, Oct 18, 2012 at 12:25 AM

Re: What does _version_ field used for?

2012-10-17 Thread Rafał Kuć
Hello! It is used internally by Solr, for example by features like partial update functionality and update log. -- Regards, Rafał Kuć Sematext :: http://sematext.com/ :: Solr - Lucene - Nutch - ElasticSearch I ma moving to solr4.0 from beta version. There is a exception was thrown, Caused

  1   2   >