Re: Understanding delta import

2010-02-23 Thread Shalin Shekhar Mangar
On Mon, Feb 22, 2010 at 10:22 PM, adeelmahmood adeelmahm...@gmail.comwrote: hi there I am having some trouble understanding delta import and how its different from full import .. from what I can tell the only difference is that it has the clean parameter set to false by default .. otherwise

Re: uniqueKey: required or not required

2010-02-23 Thread Shalin Shekhar Mangar
On Tue, Feb 23, 2010 at 7:10 AM, P Franks pfranks...@gmail.com wrote: All, Various books and online documentation states that the uniqueKey is not required and we do not have a need for a unique key so i tried remove it from the schema or setting it with no value but solr will not start with

Re: Performance issue in indexing the data with DIH when using subqueries

2010-02-23 Thread Shalin Shekhar Mangar
On Tue, Feb 23, 2010 at 1:01 AM, JavaGuy84 bbar...@gmail.com wrote: Hi, I am facing a performace issue when I am trying to index the data using DIH.. I have a model as below Tables Object ObjectProperty ObjectRelationship Object -- ObjectProperty one to Many

Re: multicore setup and security

2010-02-23 Thread Shalin Shekhar Mangar
On Mon, Feb 22, 2010 at 5:43 PM, Jorg Heymans jorg.heym...@gmail.comwrote: What is the recommended pattern for securing a multicore solr instance, accessed by different applications ? In our case, we need to prevent application A from accessing the core of application B. Also, we need to

Re: multicore setup and security

2010-02-23 Thread Jorg Heymans
On Tue, Feb 23, 2010 at 10:09 AM, Shalin Shekhar Mangar shalinman...@gmail.com wrote: On Mon, Feb 22, 2010 at 5:43 PM, Jorg Heymans jorg.heym...@gmail.com wrote: What is the recommended pattern for securing a multicore solr instance, accessed by different applications ? In our case, we

Re: Odd wildcard behavior

2010-02-23 Thread Erick Erickson
Well, the first question I'd ask is whether using the stemmers produces results your *users* don't expect. Your original e-mail mentions use and test cases. Can you re-visit the use case and determine whether your users are better served by working with the stemming? If so, then it's just a matter

error while using the DIH handler

2010-02-23 Thread Na_D
i tried using the DIH in solr using the steps as mentioned in : http://wiki.apache.org/solr/DataImportHandler#datasource http://wiki.apache.org/solr/DataImportHandler#datasource on running the command ::java -Dsolr.solr.home=./example-DIH/solr/ -jar start.jar i.e. when i use the

Re: error while using the DIH handler

2010-02-23 Thread Vijayant Kumar
Put the data-config in conf folder, I hope the problem will resolve. i tried using the DIH in solr using the steps as mentioned in : http://wiki.apache.org/solr/DataImportHandler#datasource http://wiki.apache.org/solr/DataImportHandler#datasource on running the command ::java

Re: error while using the DIH handler

2010-02-23 Thread Andrew McCombe
Hi You'll find this in the exception: Caused by: java.lang.RuntimeException: Can't find resource '/solr/data-config.xml' in classpath or './example-DIH/solr/db/conf/', cwd=/home/zaloni/Desktop/apache-solr-1.4.0/example Have you checked that the data-config.xml is in the right place? Regards

Faceted search in 2 indexes

2010-02-23 Thread André Maldonado
Hi all. I have 2 indexes with some similar fields and some distinct fields. I need to make a faceted search that returns the union of the same search in these 2 indexes. How can I make it? Thank's Então aproximaram-se os que estavam no barco, e adoraram-no, dizendo: És verdadeiramente o Filho

SOLR clustering ant code not compiling

2010-02-23 Thread Mark Fletcher
Hi, I downloaded the latest version of SOLR. From the contrib/clustering directory ran *ant get-libraries*. It is not building!. Finally I manually downloaded colt, nni, pcj, simple xml and solr-common 1.3 jars and put them in the lib and restarted SOLR. It is giving me the following err:-

Re: error while using the DIH handler

2010-02-23 Thread Na_D
yes i did check the location of the data-config.xml its in the folder example-DIH/solr/db/conf -- View this message in context: http://old.nabble.com/error-while-using-the-DIH-handler-tp27702772p2770.html Sent from the Solr - User mailing list archive at Nabble.com.

Re: error while using the DIH handler

2010-02-23 Thread Noble Paul നോബിള്‍ नोब्ळ्
can you paste the DIH part in your solrconfig.xml ? On Tue, Feb 23, 2010 at 7:01 PM, Na_D nabam...@zaloni.com wrote: yes i did check the location of the data-config.xml its in the folder example-DIH/solr/db/conf -- View this message in context:

Re: Odd wildcard behavior

2010-02-23 Thread cjkadakia
It helps tremendously, Erick, and it was the exact idea I had last night after reflecting with a nice scotch. :) I'm planning on indexing the name field as text as I have been, and then indexing it again as nameLiteral or something with a field type not containing stemming. The code submitting

Re: SOLR clustering ant code not compiling

2010-02-23 Thread Koji Sekiguchi
Mark Fletcher wrote: Hi, I downloaded the latest version of SOLR. From the contrib/clustering directory ran *ant get-libraries*. It is not building!. I've just tried ant get-libraries under contrib/clustering without any problems. I used trunk. What was your error message? Finally I

Re: Odd wildcard behavior

2010-02-23 Thread cjkadakia
Worked exactly as intended. The name field is now indexed as text and the unstemmed textgen. I have the submission throwing an OR between both for any name searches, and voila. Stemming and wildcard searches are in tact. Thanks!! :) -- View this message in context:

dynamic synonyms

2010-02-23 Thread solrquestion6
Wondering if this is possible. I have multiple clients using solr. Each client could have their own synonym list. During an update process if the record being inserted belongs to a client that happens to have it's own synonym file is there a way to use that during indexing / querying? It doesn't

CachedSqlEntityProcessor- Need help using multiple lookups

2010-02-23 Thread JavaGuy84
Hi, I am trying to use the CachedSqlEntityProcessor for one of my requirement. I couldnt make the CachedSqlEntityProcessor accept more than one filter in the 'where' condition I have something like this entity x select * from x entity y select * from y where x.id=y.id and x.name=y.name and

Re: str name=accuracy0.70/str || Spell Checker Issue !!

2010-02-23 Thread darniz
Is there a way you can override accuracy with the html url parameters for testing. i dont want to change config file for each change and bounce server. Thanks darniz Grant Ingersoll-6 wrote: Hmm, as far as I can tell, neither of those should give suggestions, as they both have edit

Re: SOLR clustering ant code not compiling

2010-02-23 Thread Mark Fletcher
Hi Koji, Thank you so much for the reply. I am not much familiar with the open source trunk. So I downloaded solr1.4 from the following location http://www.apache.org/dyn/closer.cgi/lucene/solr/ On the browser I can see this err:- -

Re: Multiple SpellCheckRequestHandlers

2010-02-23 Thread darniz
I have the same issue i have two spell checker defined one is default which is index based and the other is file which is file based can i give something like in url where i specify both dictionary. spellcheck=truespellcheck.dictionary=filespellcheck.dictionary=default Any advice will be

Re: Custom SearchComponent, only getting numFound back

2010-02-23 Thread Chris Hostetter
: SolrIndexSearcher.QueryCommand cmd = rb.getQueryCommand(); : SolrIndexSearcher.QueryResult result = new SolrIndexSearcher.QueryResult(); : searcher.search(result, cmd); : rb.setResult(result); : response.add(response, builder.getREsults().docList); what else do you do with rb before this? ...

Re: Query or FilterQuery for exact field match

2010-02-23 Thread Chris Hostetter
: I read that, but I'm outside of the typical usage I believe (as I have : no additional parameters so I'm not getting a subset): in my case it : seems the result would be in the queryResultCache anyway if I do a : normal search , or am I missing something? youre not missing anything -- each of

Re: spellcheck all time

2010-02-23 Thread Chris Hostetter
: I have a little problem with spellcheck! I get suggestions all time even the : word is correct! I use dictionary from file! Here my configuration: :str name=spellcheck.onlyMorePopularfalse/str http://wiki.apache.org/solr/SpellCheckComponent#spellcheck.onlyMorePopular -Hoss

Re: Upgrading from solr1.3 to solr1.4

2010-02-23 Thread Chris Hostetter
: Type of Queries: Recursive e.g. I search in the index for some name that : returns some rows. For each row there is a field called parentid which is a : unique key for some other row in the index. The next queries search the : index for the parentid . This continues till parentid is 1. : I am

Re: Query boosting

2010-02-23 Thread Chris Hostetter
: Try using the dismax handler : http://wiki.apache.org/solr/DisMaxRequestHandler : : This would be very good read for you. : : you would use the bq ( boost query parameter) and it should look something : similar to.. : : bq=UPDBY:deepak^5.0+TO:deepak^4.0+CC:deepak^3.0+BCC:deepak^2.0 Uh...

Re: spellcheck all time

2010-02-23 Thread Markus Jelsma
Although the wiki states it correctly (will also return suggestions even if properly spelled), perhaps we should add that it's a better practice to only present end users with suggestions if the correctlySpelled flag is false. This issue keeps coming back. Chris Hostetter said: : I have a

Re: including 'the' dismax query kills results

2010-02-23 Thread Chris Hostetter
: In my case I'm making the search The British Open, and am getting 0 : results. When I change it to British Open I get many hits. I looked at : the query analyzer and it should be broken down to british and open : tokens ('the' is a stopword). I imagine it is doing an 'and' type : search,

Re: str name=accuracy0.70/str || Spell Checker Issue !!

2010-02-23 Thread Grant Ingersoll
Unfortunately, this is not possible at the moment. It would require a change to the Lucene spell checker, which can be done. Feel free to open a JIRA issue. -Grant On Feb 23, 2010, at 1:23 PM, darniz wrote: Is there a way you can override accuracy with the html url parameters for

Re: getting unexpected statscomponent values

2010-02-23 Thread gdeconto
Erick Erickson wrote: It's especially helpful if you can take a bit of time to pare away all the unnecessary stuff in your example files and/or comment what you think the important bits are. entered as SOLR-1782 in jira -- View this message in context:

Re: Run Solr within my war

2010-02-23 Thread Chris Hostetter
: Using EmbeddedSolrServer is a client side way of communicating with : Solr via the file system. Solr has to still be up and running before : that. My question is more along the lines of how to put the server Eh ... no it isn't. EmbeddedSolrServer is an abstraction that lets applications

Re: regarding queryboost

2010-02-23 Thread Chris Hostetter
: I have explored ranking formula. As far as I understand, it : seems query-boost value is used only in queryNorm (to be exact : in : sumOfSquaredWeights ) that too inversely. No, the queryNorm is a balancer that takes into account all of the boosts of all of the constituante parts of a

Re: SOLR clustering ant code not compiling

2010-02-23 Thread Koji Sekiguchi
Mark Fletcher wrote: Hi Koji, Thank you so much for the reply. I am not much familiar with the open source trunk. So I downloaded solr1.4 from the following location http://www.apache.org/dyn/closer.cgi/lucene/solr/ On the browser I can see this err:-

Re: Solr and UIMA

2010-02-23 Thread Roland Cornelissen
Hi Joan, I'm curious to try your Solr-Cas consumer. Do you have news already ;-) Roland On 02/11/2010 03:15 PM, JCodina wrote: Things are done :-) now we already have done the UIMA CAS consumer for Solr, we are making it public, more news soon. We have also been developing some

Re: filter result by catalog

2010-02-23 Thread Chris Hostetter
: Yes I thought about both methods. The ACL method is easier, but has some : scalability issues. We use the bitset method in another product, but : there are some complexity and resource problems. : : This is a new project so I am revisiting the issue to see if anyone had any better ideas.

Re: Documents disappearing

2010-02-23 Thread Chris Hostetter
: I have encounter a situation that I can't explain. We are indexing documents : that are often duplicates so we activated deduplication like this: FWIW: w/o providing us more info about what your schema looks like, and how you are indexing documents, all we can do is speculate about some of

Re: filter result by catalog

2010-02-23 Thread Kevin Osborn
Like you, all of my research has come to the conclusion of it depends. For this particular product, we have an index of a million documents or so. And each document can belong to many catalogs. Initially, it will be a small number, but there could be up to 200 or so catalogs (probably much

logging

2010-02-23 Thread Peter A. Kirk
Hi in the Solr example, how do I configure debug logging to a file? Thanks, Peter

Re: logging

2010-02-23 Thread Markus Jelsma
Hi Peter, It depends on what you call a debug log and how you interface with Solr. Anyway, if you use Solr over HTTP you can check out the logs of your servlet container and configure the logging behaviour on the Solr web admin page. Usually, the default logging is quite useful. Either way, see

Re: logging

2010-02-23 Thread Chris Hostetter
: in the Solr example, how do I configure debug logging to a file? http://wiki.apache.org/solr/SolrLogging ...and since you asked specificly about the example, which uses jetty... http://wiki.apache.org/solr/SolrJetty#Logging -Hoss

Re: error while using the DIH handler

2010-02-23 Thread Na_D
@ Noble Paul : what exactlly do u mean by pasting the DIH part ??? if that means specifing the handler then yes i did specify the handler in the solrconfig.xml Noble Paul നോബിള്‍ नोब्ळ्-2 wrote: can you paste the DIH part in your solrconfig.xml ? On Tue, Feb 23, 2010 at 7:01 PM, Na_D

Re: error while using the DIH handler

2010-02-23 Thread Na_D
@ all Thanks all , the problem is resolved :-D its seems the solr which i downloaded was corrupt ( eer got corrupted ) so i reinstalled it and it worked fine thanks for ur suggestions .:handshake: Na_D wrote: @ Noble Paul : what exactlly do u mean by pasting the DIH part ???

SOLR logs removed

2010-02-23 Thread sangirash
Hi , We are using tomcat for SOLR application. because of some reason on 16th Feb the load increased on our SOLR servers. when I tried to check logs very next days catalina and access logs was not there as well. any clue that due to heavy load these logs gets removed or does not get created.

Re: SOLR logs removed

2010-02-23 Thread Shalin Shekhar Mangar
On Wed, Feb 24, 2010 at 10:28 AM, sangirash sangir...@gmail.com wrote: We are using tomcat for SOLR application. because of some reason on 16th Feb the load increased on our SOLR servers. when I tried to check logs very next days catalina and access logs was not there as well. any clue

Date Facets

2010-02-23 Thread Liam O'Boyle
Afternoon, I have a strange problem occurring with my date faceting. I seem to have more results in my facets than in my actual result set. The query filters by date to show results for one year, i.e. ib_date:[2000-01-01T00:00:00Z TO 2000-12-31T23:59:59Z], then uses date faceting to break up

Autosuggest/Autocomplete with solr 1.4 and EdgeNGrams

2010-02-23 Thread Sachin
Hi All, I am trying to setup autosuggest using solr 1.4 for my site and needed some pointers on that. Basically, we provide autosuggest for user typed in characters in the searchbox. The autosuggest index is created with older user typed in search queries which returned 0 results. We do