problem in spellchecker working with dismax requesthandler

2011-07-06 Thread Romi
Hi, In my solr search previously i was using standard request handler than spellchecker was working fine. now i configured search to dismax request handler. But now spellchecker is not working. would you please tell me what can be the problem Thanks - Thanks Regards Romi -- View this

Re: @field for child object

2011-07-06 Thread Noble Paul നോബിള്‍ नोब्ळ्
no On Mon, Jul 4, 2011 at 3:34 PM, Kiwi de coder kiwio...@gmail.com wrote: hi, i wondering solrj @Field annotation support embedded child object ? e.g. class A {  @field  string somefield;  @emebedded  B b; } regards, kiwi --

Re: upgrading to Tika 0.9 on Solr 1.4.1

2011-07-06 Thread Surendra
I have upgraded my Solr Distribution to 3.2 and also the referring jars of my application (especially the solr jar was 1.4.1 in my application which calls solr...hence causing javabin exception...) . Also updated the pdfbox/jempbox/fontbox to latest versions and Tika to 0.9 version...which made

Re: problem in spellchecker working with dismax requesthandler

2011-07-06 Thread Shalin Shekhar Mangar
On Wed, Jul 6, 2011 at 11:36 AM, Romi romijain3...@gmail.com wrote: Hi, In my solr search previously i was using standard request handler than spellchecker was working fine. now i configured search to dismax request handler. But now spellchecker is not working. would you please tell me what

Re: Nightly builds

2011-07-06 Thread Tom Gross
Hi Benson On 07/05/2011 04:29 PM, Benson Margulies wrote: The reason for the email is not that I can't find them, but because the project, I claim, should be advertising them more prominently on the web site than buried in a wiki. Actually they are linked on the hp but unfortunately not

Re:OOM at solr master node while updating document

2011-07-06 Thread Chengyang
Seems FieldCache consume all the heap. At 2011-07-05 16:25:27,Chengyang atreey...@163.com wrote: Is there any memory leak when I updating the index at the master node? Here is the stack trace. o.a.solr.servlet.SolrDispatchFilter - java.lang.OutOfMemoryError: Java heap space at

Re: faceting on field with two values

2011-07-06 Thread elisabeth benoit
Thanks for your advice and for your comments. In fact, we don't use facets to offer a facet UI to user, but to analyze user request, then send a second request to Solr. Lot of requests have lot of answers (often more then a thousand), so we need to filter user request with fq parameter, if

Where does the integration happen inside Solr? (Solr-UIMA)

2011-07-06 Thread Sowmya V.B.
Hi All I am trying to port and application developed using Lucene based Indexer + UIMA, in to SOlr+UIMA, for the past 3,4 days. I am not able to comprehend where exactly does the UIMA processing get added. Does it get added after I say something like: UpdateResponse response = server.add(a list

solr.StandardTokenizerFactory: more info needed

2011-07-06 Thread Dmitry Kan
Hi all! solr.StandardTokenizerFactory -- is it possible to see the full description of its behaviour for solr.1.4 somewhere? Wiki http://wiki.apache.org/solr/AnalyzersTokenizersTokenFilters#solr.StandardTokenizerFactory is very short.. -- Regards, Dmitry Kan

Highlight whole query phrase

2011-07-06 Thread Romi
i am using solr for search and i implemented highlighting feature for my search results. when i my search string is ring it highlight ring but when search string is gold ring than also it highlight only gold, where i wanted to highlight whole gold ring for highlighting i use description field

Re: Exception when using result grouping and sorting by geodist() with Solr 3.3

2011-07-06 Thread Thomas Heigl
My query in the unit test looks like this: q=*:*fq=_query_:{!geofilt sfield=user.location_p pt=48.20927,16.3728 d=50.0} OR _query_:{!geofilt sfield=location_p pt=48.20927,16.3728

Re: Can I invert the inverted index?

2011-07-06 Thread Gabriele Kahlout
From you patch I see TermFreqVector which provides the information I want. I also found FieldInvertState.getLength() which seems to be exactly what I want. I'm after the word count (sum of tf for every term in the doc). I'm just not sure whether FieldInvertState.getLength() returns just the

Re: Highlight whole query phrase

2011-07-06 Thread Marian Steinbach
On Wed, Jul 6, 2011 at 09:27, Romi romijain3...@gmail.com wrote: Now how should i parse so that i got gold ring highlighted Take a look at the hl.mergeContiguous parameter. http://wiki.apache.org/solr/HighlightingParameters#hl.mergeContiguous

Not getting data using concat in DIH

2011-07-06 Thread tamanjit.bin...@yahoo.co.in
Hi all, My data-import.xml looks like this: dataConfig dataSource driver=com.ibm.db2.jcc.DB2Driver url=jdbc:db2://10.150.200.69:6/livedb user=property password=property / document name=articlePosting entity name=articleDetails query=select 'A' concat

Re: Not getting data using concat in DIH

2011-07-06 Thread tamanjit.bin...@yahoo.co.in
The XML comments were not taken. This is the data-import.xml that does not work. In bold is the line uncommented. dataConfig dataSource driver=com.ibm.db2.jcc.DB2Driver url=jdbc:db2://10.150.200.69:6/livedb user=property password=property / document

Re: Highlight whole query phrase

2011-07-06 Thread Romi
I included hl.mergeContiguous parameter. in my url but no effect on search result highlighting. actually i need to parse highlighting property. please look at http://jsfiddle.net/bhXbh/4/ - Thanks Regards Romi -- View this message in context:

Re: Highlight whole query phrase

2011-07-06 Thread Marian Steinbach
On Wed, Jul 6, 2011 at 12:07, Romi romijain3...@gmail.com wrote: I included hl.mergeContiguous parameter. in my url but no effect on search result highlighting. actually i need to parse highlighting property. please look at http://jsfiddle.net/bhXbh/4/ I just noticed that I actually don't

Re: Field collapsing on multiple fields and/or ranges?

2011-07-06 Thread Rih
Have the same requirement. What is your workaround for this? On Thu, May 12, 2011 at 7:40 AM, arian487 akarb...@tagged.com wrote: I'm wondering if there is a way to get the field collapsing to collapse on multiple things? For example, is there a way to get it to collapse on a field (lets

How to match for more than one value in a string using regex match

2011-07-06 Thread Romi
Hi i want to highlight whole gold ring for this i am doing as *var match = hitem.text[0].match(/em(.*?)\/em/); where hitem.text[0]=emGold/em emRing/em * but the problem is var match is getting only Gold so i am able to highlight only Gold, i want to make it an array so that it contains both gold

Re: Field collapsing on multiple fields and/or ranges?

2011-07-06 Thread Michael McCandless
I believe the underlying grouping module is now technically able to do this, because subclasses of the abstract first/second pass grouping collectors are free to decide what type/value the group key is. But, we have to fix Solr to allow for compound keys by creating the necessary concrete

Re: Nested grouping/field collapsing

2011-07-06 Thread Rih
Hey Martijn, Did you find a good workaround? Rih On Sat, May 28, 2011 at 5:35 AM, Martijn Laarman mpdre...@gmail.com wrote: Thanks Mike, I've opened https://issues.apache.org/jira/browse/SOLR-2553 for this. It's exciting to hear a workable implementation might be possible! On Fri, May

Re: Not getting data using concat in DIH

2011-07-06 Thread Erick Erickson
concat is really unrelated to Solr, DIH doesn't understand the SQL at all. So my first guess would be that the SQL isn't doing quite what you expect, can you run it by itself and get your expected results? What doesn't work? What error are you receiving? Or is the data just not searchable? Have

RE: solr.StandardTokenizerFactory: more info needed

2011-07-06 Thread Steven A Rowe
Hi Dmitry, The underlying Lucene implementation is here: http://svn.apache.org/repos/asf/lucene/java/tags/lucene_2_9_1/src/java/org/apache/lucene/analysis/standard/ StandardTokenizerImpl.jflex is probably where you should start. Steve -Original Message- From: Dmitry Kan

Re: How many fields can SOLR handle?

2011-07-06 Thread Erik Hatcher
On Jun 7, 2011, at 06:22 , roySolr wrote: Every product has different facets. I have something like this in my schema: dynamicField name=*_FACET type=facetType indexed=true stored=true multiValued=true/ One optimization, if you don't need the stored values, is to set stored=false.

Re: Highlight whole query phrase

2011-07-06 Thread Romi
it is accidentally became elegant. anyway i got the solution without using hl.mergeContiguous , because its not working. look at http://jsfiddle.net/bhXbh/31/ for the solution - Thanks Regards Romi -- View this message in context:

Re: solr.StandardTokenizerFactory: more info needed

2011-07-06 Thread Dmitry Kan
Hi Steven, This looks very good. Thanks. Do I understand correctly, that I were to change the tokenizer rules, I could go and change e.g. the token class definitions (like NUM) in this file and recompile the code? On Wed, Jul 6, 2011 at 3:45 PM, Steven A Rowe sar...@syr.edu wrote: Hi Dmitry,

RE: solr.StandardTokenizerFactory: more info needed

2011-07-06 Thread Steven A Rowe
Yes, you can change the rules and recompile. Before you recompile, you have to run 'ant jflex' to generate the java source. Steve -Original Message- From: Dmitry Kan [mailto:dmitry@gmail.com] Sent: Wednesday, July 06, 2011 9:21 AM To: solr-user@lucene.apache.org Subject: Re:

Re: solr.StandardTokenizerFactory: more info needed

2011-07-06 Thread Dmitry Kan
OK, thanks. Do you know if there are tokenizer specific tests to run after compilation? On Wed, Jul 6, 2011 at 4:25 PM, Steven A Rowe sar...@syr.edu wrote: Yes, you can change the rules and recompile. Before you recompile, you have to run 'ant jflex' to generate the java source. Steve

indexing but not able to search

2011-07-06 Thread Sowmya V.B.
Hi All I indexed a set of documents using Solr, which are shown in the stats page on the admin panel. However, the search interface always returns 0 documents to me. When I give the query as *:*, it does return me all the 20K odd documents I tried indexing just a few hours back. Can someone tell

Re: indexing but not able to search

2011-07-06 Thread Denis Kuzmenok
Hi All I indexed a set of documents using Solr, which are shown in the stats page on the admin panel. However, the search interface always returns 0 documents to me. When I give the query as *:*, it does return me all the 20K odd documents I tried indexing just a few hours back. Can

Re: indexing but not able to search

2011-07-06 Thread Sowmya V.B.
Hi Url I am using to search: http://localhost:8080/apache-solr-3.3.0/select/?q=timeversion=2.2start=0rows=10indent=on http://localhost:8080/apache-solr-3.3.0/admin/stats.jsp - is my stats page. The part of my SolrConfig file, which said searchHandler - had these, which I found on an example on

A beginner problem

2011-07-06 Thread carmmello
Thank you for your answer. I downloaded solr from the link you sugested and now it is ok, I can see the administration page. But it is strange that a download from the solr site does not work. Tanks also to Way Cool. I don't know why, but it happened the same to me in the past (with 3.2).

Re: Problems with SolrCloud

2011-07-06 Thread Andrey Sapegin
I have solved this problem by creating myid file with Zookeper server id in solr/zoo_data folder. However, it's still not working. Now when I try to run it, I have the following in the console output: ... Jul 6, 2011 4:23:11 PM org.apache.zookeeper.ClientCnxn$SendThread startConnect INFO:

Re: indexing but not able to search

2011-07-06 Thread Sowmya V.B.
Hi Denis I got my answer. I should have added str name=fl*/str in the defaults list. Sowmya. On Wed, Jul 6, 2011 at 3:57 PM, Sowmya V.B. vbsow...@gmail.com wrote: Hi Url I am using to search: http://localhost:8080/apache-solr-3.3.0/select/?q=timeversion=2.2start=0rows=10indent=on

Re: solr.StandardTokenizerFactory: more info needed

2011-07-06 Thread Erick Erickson
See ..src/test/org/apache/solr/analysis. But... you'll be changing the grammar, so I don't know how tests would actually help you. Actually I'd expect them to break. And you'd have to write some new ones of your own to exercise your changes to insure that they do what you want Best Erick On

Re: indexing but not able to search

2011-07-06 Thread Erick Erickson
Note that you can add that to the URL directly, as fl=* Also, simply querying q=time will look for terms ONLY in the field in your schema.xml defined by defaultSearchField in your schema.xml (text by default)... Best Erick On Wed, Jul 6, 2011 at 11:08 AM, Sowmya V.B. vbsow...@gmail.com wrote:

Obtaining document IDs used in facet value count

2011-07-06 Thread Jeff Schmidt
I need to take a new approach on accessing my Solr index. It's indexed where each document is a biological node (drug, gene etc.). Each has multi-valued fields for disease and species and other things. To keep the question as simple as possible let's just worry about disease. I'm faceting on

Re: indexing but not able to search

2011-07-06 Thread Sowmya V.B.
I am sorry..I was checking the some other solr instance that ran on this system...when I replied for the previous mail. I still dont get any documents in return to my query...though the index shows a size of some 20K documents. Attaching my solrconfig.xml file with this mail. On Wed, Jul 6,

RE: Getting started with Velocity

2011-07-06 Thread Chip Calhoun
Thanks. Is there any way to change what fields browse uses / asks for? I've tried changing the code, and I'm clearly missing something. I either get the same fields it was displaying before (and no search results) or I get something that doesn't work at all. -Original Message- From:

StreamingUpdateSolrServer Indexing dates

2011-07-06 Thread matthew . fowler
Hi All I'm indexing a set of xml documents using StreamingUpdateSolrServer but I'm having trouble indexing dates. I get an error like: SEVERE: error java.lang.Exception: Invalid Date Math String:'2011-04-22T05:35:37Z ' Invalid Date Math String:'2011-04-22T05:35:37Z ' I

the version of a Lucene index changes after an optimize?

2011-07-06 Thread gquaire
Hello everybody, I am new in this forum and I need your expertize on Solr-Lucene. I'm currently develop a new component for Solr for a professional project. This component has to be refreshed when some mofications have been applied in the index. But, if only an optimize has happened (the data

Re: indexing but not able to search

2011-07-06 Thread Sowmya V.B.
Hi Eric 1)Default field in schema.xml : text, which is the field 2) numDocs = 21501 maxDocs = 21554 3) Attaching debugQuery output with this mail 4) When I search for everything, (*:*)...it shows me all the documents, with their fields. I am new to asking questions on the list..and hence the

Re: solr.StandardTokenizerFactory: more info needed

2011-07-06 Thread Dmitry Kan
Thanks, Erick. On Wed, Jul 6, 2011 at 6:27 PM, Erick Erickson erickerick...@gmail.comwrote: See ..src/test/org/apache/solr/analysis. But... you'll be changing the grammar, so I don't know how tests would actually help you. Actually I'd expect them to break. And you'd have to write some new

Re: the version of a Lucene index changes after an optimize?

2011-07-06 Thread Erick Erickson
I question this point: But, if only an optimize has happened (the data in the index didn't change), the component doesn't need to be modified An optimize may, for instance, change the internal Lucene document IDs. What is your component doing? Also, optimize should be a fairly rare occurrence.

Re: indexing but not able to search

2011-07-06 Thread Erick Erickson
About being new... no problem, we all have to learn But this part of your output: str name=rawquerystringquery/str str name=querystringquery/str str name=parsedquerytitle:query/str str name=parsedquery_toStringtitle:query/str indicates that something's weird with your query. Can you

Re: indexing but not able to search

2011-07-06 Thread Sowmya V.B.
Hi Eric Yes, the schema.xml has both title and text fields... and i was changing between them...perhaps, it was title when I sent you. I am searching from the admin. this is the URL it gives me, after I click search, from the admin window.

Re: indexing but not able to search

2011-07-06 Thread Erick Erickson
You're giving contradictory information here. This is NOT the query that you submitted when you did the debugQuery=on that you sent before. Look in schema.xml for defaultSearchField I bet its value is title. I'm not talking at all about the fact that the schema has title and text fields, I'm

Re: Nightly builds

2011-07-06 Thread Chris Hostetter
: The reason for the email is not that I can't find them, but because : the project, I claim, should be advertising them more prominently on : the web site than buried in a wiki. : : Actually they are linked on the hp but unfortunately not directly: :

Re: StreamingUpdateSolrServer Indexing dates

2011-07-06 Thread Chris Hostetter
: Invalid Date Math String:'2011-04-22T05:35:37Z ' ... : I notice the trailing spaces but in my document they are not present: ... : maindocdate_dt![CDATA[2011-04-22T05:35:37Z]]/maindocdate_dt ... : I am adding the field to the document with: ... :

DIH / dynamic fields / ...

2011-07-06 Thread Frederik Kraus
Hi, I'm currently stuck with a (probably straightforward) problem concerning DIH and dynamic fields. I'm having a DB-Datasource with one of the columns (metaXml) containing an xml string looking something like this: rootmeta title=abc value=123/meta title=def value=456//root The dataConfig

Getting the indexed value rather than the stored value

2011-07-06 Thread Christian
Hi, I am using the following fieldType to change the index of a given field: fieldtype name=profanity stored=false indexed=true class=solr.TextField analyzer type=index tokenizer class=solr.StandardTokenizerFactory/ filter class=solr.KeepWordFilterFactory

ClassCastException launching recent snapshot

2011-07-06 Thread Benson Margulies
Launching solr-4.0-20110705.223601-1.war, I get a class cast exception org.apache.lucene.index.DirectoryReader cannot be cast to org.apache.solr.search.SolrIndexReader with the following backtrace. I'm launching solr-as-a-webapp via an embedded copy of tomcat 7. The location of the index is set

Re: Nightly builds

2011-07-06 Thread Benson Margulies
On Wed, Jul 6, 2011 at 3:43 PM, Chris Hostetter hossman_luc...@fucit.org wrote: : The reason for the email is not that I can't find them, but because : the project, I claim, should be advertising them more prominently on : the web site than buried in a wiki. : : Actually they are linked