Re: about the string type field, will it be analyzed?

2010-11-24 Thread Gora Mohanty
On Thu, Nov 25, 2010 at 9:34 AM, xu cheng wrote: > hi all: > I have a solr app, and there is* a filed named filePath *whose type is * > string* > and the filePath fields  in the documents are* unique* (supposed to be > uniqued) > cos filePath > and now I wanna query with this field, it find nothin

Re: about the string type field, will it be analyzed?

2010-11-24 Thread xu cheng
btw I only define an analyzer for the fieldType text,no string 2010/11/25 xu cheng > hi all: > I have a solr app, and there is* a filed named filePath *whose type is * > string* > and the filePath fields in the documents are* unique* (supposed to be > uniqued) > cos filePath > and now I wanna q

Invoke directUpdateHandler2.deleteByQuery

2010-11-24 Thread Robert Thayer
I am using DIH to load data from distinct locations and include a location specific field for faceting and hopefully deleting. My current invocation of the DIH though, deletes all documents. After a little searching it looks like the proper config / invoke of the directUpdateHandler2.delete

about the string type field, will it be analyzed?

2010-11-24 Thread xu cheng
hi all: I have a solr app, and there is* a filed named filePath *whose type is * string* and the filePath fields in the documents are* unique* (supposed to be uniqued) cos filePath and now I wanna query with this field, it find nothing. I just wonder whether the field defined as a string type will

Re: geospatial

2010-11-24 Thread Yonik Seeley
On Wed, Nov 24, 2010 at 2:41 PM, Dennis Gearon wrote: > What is the recommended Solr version and/or plugin combination to get > geospatial > search up and running the quickest and easiest? It depends on what capabilities you need. The current state of what is committed to trunk is reflected here

Re: Distributed Solr (Shard mode) performance issue

2010-11-24 Thread Upayavira
Hamid, I have just finished working on a client project similar to this. We had 60 million documents (heading for 120m) when I stopped working there. It is worth bearing in mind that, while Solr can certainly handle that size of index, when you get to that kind of scale, you are likely to have to

Re: Is this sort order possible in a single query?

2010-11-24 Thread Geert-Jan Brits
hmm, sorry about that. I haven't used the 'sort by functionquery'-option myself, but I remembered it existed. Indeed solr 1.5 was never released (as you've read in the link you pointed out) the relevant JIRA-issue: https://issues.apache.org/jira/browse/SOLR-1297

geospatial

2010-11-24 Thread Dennis Gearon
What is the recommended Solr version and/or plugin combination to get geospatial search up and running the quickest and easiest? Dennis Gearon Signature Warning It is always a good idea to learn from your own mistakes. It is usually a better idea to learn from others’ mis

Re: Is this sort order possible in a single query?

2010-11-24 Thread Robert Gründler
thanks a lot for the explanation. i'm a little confused about solr 1.5, especially after finding this wiki page: http://wiki.apache.org/solr/Solr1.5 Is there a stable build available for version 1.5, so i can test your suggestion using functionquery? -robert On Nov 24, 2010, at 1:53 PM, Gee

Delete from web interface?

2010-11-24 Thread jlist9
Hi, I'm using solr 1.4. It seems that I can only do queries from the web interface. To post and delete, I'd have to drop to command line using the post script or command line or write some code. It'd be really great if the web interface could be extended and add a form to take XML content for posti

Re: How to use polish stemmer - Stempel - in schema.xml?

2010-11-24 Thread Jakub Godawa
On Wed, 2010-11-24 at 19:00 +0100, Jakub Godawa wrote: > Yes, from the current nightly release setting up Stempel is quite easy. Thanks to Rober Muir :)

Re: How to use polish stemmer - Stempel - in schema.xml?

2010-11-24 Thread Jakub Godawa
Yes, from the current nightly release setting up Stempel is quite easy. All I did was: svn co https://svn.apache.org/repos/asf/lucene/dev/trunk ./lucene-solr cd lucene-solr/solr ant example cp ./contrib/analysis-extras/lucene-libs/lucene-analyzers-stempel-4.0-SNAPSHOT.jar ./lib cp ./contrib/a

Re: How to get facet counts without fields that are constrained by themselves?

2010-11-24 Thread Michael Dowling
I think you'll need to use tags and exclusions in your query: http://localhost:8983/solr/select?facet=true&facet.mincount=1&q=*:*&facet.fi eld={!ex%3Dcolor}color&fq={!tag%3Dcolor}color:("Yellow") In this query, I'm filtering by the color Yellow, but I'm retrieving facet counts for colors without

Re: How to get facet counts without fields that are constrained by themselves?

2010-11-24 Thread Torres Carlos
You can should local params ... http://wiki.apache.org/solr/LocalParams -Mensaje original- From: Petrov Sergey Sent: Wednesday, November 24, 2010 12:57 PM To: solr-user@lucene.apache.org Subject: How to get facet counts without fields that are constrained by themselves? I need to

Re: How to get facet counts without fields that are constrained by themselves?

2010-11-24 Thread Geert-Jan Brits
http://wiki.apache.org/solr/SimpleFacetParameters#Tagging_and_excluding_Filters 2010/11/24 Petrov Sergey > I need to retrieve result of query and facet counts for all searchable > document fields. I can't get corre

How to get facet counts without fields that are constrained by themselves?

2010-11-24 Thread Petrov Sergey
I need to retrieve result of query and facet counts for all searchable document fields. I can't get correct results in case when facets counts are calculated for field that is in search query. Facet counts are calculated to match the whole query, but for this field I need to get values, that are

RE: Must require quote with single word token query?

2010-11-24 Thread Jonathan Rochkind
Okay, we need to take a step back and think about what you are trying to do. Reading back in the thread and looking at your schema, you have a non-tokenized field whose terms can include whitespace. There is in fact no good way to use that with dismax, dismax doesn't work that way. What you ca

Re: SOLR-792 (hierarchical faceting) issue when only 1 document should be present in the pivot

2010-11-24 Thread Nicolas Peeters
Hi Solr-Users, I realized that I can get the behaviour that I expect if I put facet.pivot.mincount to 0. However, I'm still puzzled why this needs to be 0 and not 1. There's one occurence for this document, isn't it? With this value to 1, the print out of the pivot looks like this (where you clear

SOLR-792 (hierarchical faceting) issue when only 1 document should be present in the pivot

2010-11-24 Thread Nicolas Peeters
Hi Solr Community, I've been experimenting with Solr 4.0 (trunk) in order to test the SOLR-792 feature. I have written a test that shows what I'm trying to ask. Basically, I'm creating a hierarchy of the area/city/neighbourhood. The problem that I see is that for documents that have only 1 item in

Re: Is this sort order possible in a single query?

2010-11-24 Thread Geert-Jan Brits
You could do it with sorting on a functionquery (which is supported from solr 1.5) http://wiki.apache.org/solr/FunctionQuery#Sort_By_Function Consider the search: http://localhost:8093/solr/select?author:'j.k.rowling' sorting like you sp

Is this sort order possible in a single query?

2010-11-24 Thread Robert Gründler
Hi, we have a requirement for one of our search results which has a quite complex sorting strategy. Let me explain the document first, using an example: The document is a book. It has several indexed text fields: Title, Author, Distributor. It has two integer columns, where one reflects the num

Distributed Solr (Shard mode) performance issue

2010-11-24 Thread Hamid Vahedi
Hi to all We using solr multi core with 6 core in shard mode per server (2 server till now. therefore totally 12 core). using tomcat on windows 2008 with 18GB RAM assign to it. We add almost 6 million doc per day to solr (up to 200 doc/sec) which must appear in query result real-time. (curren

DIH delta, deltaQuery

2010-11-24 Thread stockii
Hello. i wonder why this deltaQuery takes over a minute: deltaQuery="SELECT id FROM sessions WHERE created BETWEEN DATE_ADD( NOW(), INTERVAL - 1 HOUR ) AND NOW() OR modified BETWEEN '${dataimporter.sessions .last_index_time}' AND DATE_ADD( NOW(), INTERVAL - 1

Re: Solr running in a weblogic cluster - bet configuration?

2010-11-24 Thread lee carroll
Just been reading about a 5 possible set up: all indexes in the cluster are slaves to a master index outside of the cluster. building and maintaining the index happens outside of the cluster which would only be used for queries. are their any issues with this set up ? thanks lee On 24 November

Solr running in a weblogic cluster - bet configuration?

2010-11-24 Thread lee carroll
Hi We are investigating / looking to deploy solr on to a weblogic cluster of 4 servers. The cluster has no concept of a master / slave configuration so we are thinking of the following solutions (new to solr so some or all may be bad ideas:-) 1) all 4 servers run their own index. we re-index each

Re: Bug in solrJ when retrieving results?

2010-11-24 Thread savvas.andreas
no worries..got it.. my bad, it's the start=30 that's causing the problem.. my apologies to the solrj team :D -- View this message in context: http://lucene.472066.n3.nabble.com/Bug-in-solrJ-when-retrieving-results-tp1960012p1960090.html Sent from the Solr - User mailing list archive at Nabble

RE: unknown field 'name'

2010-11-24 Thread McGibbney, Lewis John
I took a look at schema.xml and you are right the field names did not match up correctly. It was my own fault. Thank you for your time sivaprasad and Markus From: sivaprasad [sivaprasa...@echidnainc.com] Sent: 24 November 2010 03:58 To: solr-user@lucene.a

Bug in solrJ when retrieving results?

2010-11-24 Thread Savvas-Andreas Moysidis
Hello, We think we've come across a bug in solrj? The following is a toString() dump of a QueryResponse object we are getting: {responseHeader={status=0,QTime=0,params={sort=creationDate asc,start=30,q=songTitle:(mad dog) AND creationDate:[123750720 TO 123802559],wt=javabin,rows=10,versio

boosting

2010-11-24 Thread Gastone Penzo
Hi, i have a problem/question to explain: for example i have 3 documents with the same fields value, so the total score is the same for all docs when i do a search that match. i have also some boosts set in bf parameter (boost functions in dismax). bf = field1^1.0 field2^0.8 field3^0.6 all the f

Re: result of filtered field not indexed

2010-11-24 Thread Bernd Fehling
Hi Rita, thanks for the advice, one problem solved. "source start,end" is now set to the correct value by the filter. After further debugging it looks like this is a bug in Lucene indexer. I wonder that noone ever noticed this... Kind regards, Bernd Am 23.11.2010 09:07, schrieb Bernd Fehling: >

Synonym processing at index time

2010-11-24 Thread Jason Brown
Good Morning - I will explain my current config/fucntionality. I have 4 fields in my index... 1) Doc Title - a text field 2) Keyword Phrase, e.g. fund manager, a text field (with some edge n gram functionality at index time) 3) Keyword Phrase, e.g. fund manager, a string field (for facetting) 4

Re: Must require quote with single word token query?

2010-11-24 Thread Chamnap Chhorn
I've looked at solr local params. However, I can't figure out how to integrate it with my full text search using dismax handler. Here is my full text search request handler. explicit 20 dismax name_ngram^20 name^40 postal_code address description long_description lo

Re: commit=true has no effect

2010-11-24 Thread stockii
its so strange ... - i copy the solrconfig.xml from this core, that works and no changes - i delete all fields in my query and change it to a simple query with two fields. no commit ... -- View this message in context: http://lucene.472066.n3.nabble.com/commit-true-has-no-effect-tp1952567p195

Re: commit=true has no effect

2010-11-24 Thread stockii
DIH Response XML: 2 1 0 2010-11-24 09:56:11 2010-11-24 09:56:11 2010-11-24 09:56:11 2010-11-24 09:56:11 1 0 0:0:0.234 here i am missing the lines: Indexing completed. Added/Updated: 1 documents. Deleted 0 documents. 2010-11-24 09:57:08 2010-11-24 09:57:08 -- View this message in context: htt

Re: commit=true has no effect

2010-11-24 Thread stockii
Here is my query: http://lucene.472066.n3.nabble.com/commit-true-has-no-effect-tp1952567p1959429.html Sent from the Solr - User mailing list archive at Nabble.com.

RE: DisMaxQParserPlugin and Tokenization

2010-11-24 Thread jan.kurella
Sorry for the double post. Is there someone, that can point me where the original query given to the DisMaxHandler/QParser is splitted? Jan -Original Message- From: Kurella Jan (Nokia-MS/Berlin) Sent: Montag, 22. November 2010 14:49 To: solr-user@lucene.apache.org Subject: DisMaxQParser