Re: Faceting on distance in Solr: how do you generate links that search withing a given range of distance?

2011-05-20 Thread roySolr
He I had the same problem. It's fix now. But it comes with a new issue: I get results for all company's in London. Now i want the following facets: 10km(20) 20km(34) 40km(55) 40km can be outside of London. There are only company's in london in my results. The company's outside of London are

Re: Mysql vs Postgres DIH

2011-05-20 Thread Quirino Brizi
Hi Antonio, Sorry, I really want to help you but I'm not understanding your point, what query did you do? can you please add more details, or if I lost some details can you point me to this? Thanks, Quirino On 20/05/11 01:35, antonio wrote: Excuse me, i wrong to write 197085, correct is

Re: Results with and without whitspace(soccer club and soccerclub)

2011-05-20 Thread Luis Cappa Banda
Hello. Also you can index only soccerclub always deleting the whitespace in the expression with a charFilter. This behaviour must be also applied in search context. So then you have: 1. Index time: soccer club -- soccerclub indexed. 2. Search time: soccer club OR soccerclub -- soccerclub

RE: How can I query mutlitcore with solrJ

2011-05-20 Thread Rohit
Each core need to be queried separately, http://localhost:8983/solr/fund_dih/select?q= http://localhost:8983/solr/fund_tika/select?q= Regards, Rohit -Original Message- From: Zhao, Zane [mailto:zane.z...@fil.com] Sent: 20 May 2011 07:50 To: solr-user@lucene.apache.org Subject: How can

Re: Results with and without whitspace(soccer club and soccerclub)

2011-05-20 Thread roySolr
Hello, Thanks, i think both are good options. I prefer the option with the filter. What does a charfilter look like? -- View this message in context: http://lucene.472066.n3.nabble.com/Results-with-and-without-whitespace-soccer-club-and-soccerclub-tp2934742p2964950.html Sent from the Solr -

Re: How can I query mutlitcore with solrJ

2011-05-20 Thread Tommaso Teofili
Or, if you want results from both together, you can use the distributed search [1]. Just decide which one of the cores will be the collector and add the shards=localhost:8983/solr/fund_dih,localhost:8983/solr/fund_tika parameter like : SolrServer server = new CommonsHttpSolrServer(

Re: Results with and without whitspace(soccer club and soccerclub)

2011-05-20 Thread roySolr
Thanks for the help so far, I don't think this solves the problem. What if my data look like this: soccer club Manchester united if i search for soccerclub manchester and for soccer club manchester i want this result back. A copyfield that removes whitespaces is not an option. With the

Re: [POLL-RESULTS] How do you (like to) do logging with Solr

2011-05-20 Thread Jan Høydahl
Thanks y'all. Approximate poll summary, including those that voted multiple choice: [3] I always use the JDK logging as bundled in solr.war, that's perfect [6] I sometimes use log4j or another framework and am happy with re-packaging solr.war [5] Give me solr.war WITHOUT an slf4j logger

[Contribution] Multiword Inline-Prefix Autocomplete Idea

2011-05-20 Thread mtraynham
At my company. I've been spending some time figuring out the best approach for inline prefix Auto completion. Most of the support for auto completion is based solely on prefix matching, as it can jump to a certain term within a field quickly and break the enumeration loop when the prefix no

Re: Extracting contents of zipped files with Tika and Solr 1.4.1 (now Solr 3.1)

2011-05-20 Thread Gary Taylor
Hello again. Unfortunately, I'm still getting nowhere with this. I have checked-out the 3.1 source and applied Jayendra's patches (see below) and it still appears that the contents of the files in the zipfile are not being indexed, only the filenames of those contained files. I'm using a

Re: Similarity class for an individual field

2011-05-20 Thread Brian Lamb
Yes. Was that not what I was supposed to do? On Thu, May 19, 2011 at 8:26 PM, Koji Sekiguchi k...@r.email.ne.jp wrote: (11/05/20 3:45), Brian Lamb wrote: Hi all, Based on advice I received on a previous email thread, I applied patch https://issues.apache.org/jira/browse/SOLR-2338. My goal

Re: Help, Data Import not indexing in solr.

2011-05-20 Thread fredylee
Hi Gora, Thanks for the reply. That was really fast. Yes, the Northwind DB is a sample test DB, and I have been using that DB for testing quite extensively. The fields exist, and select statements had been verified. :) The documentations for SOLR however mentions nothing about declaring

Re: Special character in a field used by sort parameter

2011-05-20 Thread Jan Høydahl
Have you tried url-encoding? http://localhost:8180/solr/test-public/select/?q=test-id:1sort=test%2Did+asc -- Jan Høydahl, search solution architect Cominvent AS - www.cominvent.com On 19. mai 2011, at 10.50, Marc SCHNEIDER wrote: Hi, I have a field called test-id but I can't use it when

Select multiple facets with OR instead of AND

2011-05-20 Thread Dhanushka Samarakoon
Hi All, I'm running the following query. http://localhost:8983/solr/select/?q=greenversion=2.2indent=onqt=dismax; fq=fKeyword:NITROGENfq=fKeyword:corn facet=onfacet.mincount=1facet.field=fKeyword What this returns me is a set of results which has both the keywords in fKeyword. Instead I need

Re: Help, Data Import not indexing in solr.

2011-05-20 Thread Gora Mohanty
On Fri, May 20, 2011 at 9:35 PM, fredylee fredy_ru...@co.washington.or.us wrote: [...] The documentations for SOLR however mentions nothing about declaring fields in the schema.xml in order for data import to work.  I must have missed it. So All I need to do is declaring field name?  like the

Re: Help, Data Import not indexing in solr.

2011-05-20 Thread fredylee
I added these statement to schema.xml, however the full import is still not indexing the rows. field name=companyname type=text indexed=true stored=true/ field name=Customers type=text indexed=true stored=true / field name=customerID type=text indexed=true stored=true / field

Re: [Contribution] Multiword Inline-Prefix Autocomplete Idea

2011-05-20 Thread Mike Sokolov
Cool! suggestion: you might want to replace externalVal.toLowerCase().split( ); with externalVal.toLowerCase().split(\\s+); also I bet folks might have different ideas about what to do with hyphens, so maybe: externalVal.toLowerCase().split([-\\s]+); In fact why not make it a

Re: Results with and without whitspace(soccer club and soccerclub)

2011-05-20 Thread Sujit Pal
This may or may not help you, we solved something similar based on hyphenated words - essentially when we encountered a hyphenated word (say word1-word2) we send in a OR query with the word (word1-word2) itself, a phrase word1 word2~3 and the word formed by removing the hyphen (word1word2). But

Re: [Contribution] Multiword Inline-Prefix Autocomplete Idea

2011-05-20 Thread mtraynham
Ahh yes, thanks for the suggestions! I've implemented them. I thought about you're second point previously and had encountered that issue. Once it's tokenized, I don't believe there is a way to get the full string back from the token stream. -- View this message in context:

Re: Select multiple facets with OR instead of AND

2011-05-20 Thread Tor Henning Ueland
On Fri, May 20, 2011 at 6:52 PM, Dhanushka Samarakoon dhan...@gmail.com wrote: What this returns me is a set of results which has both the keywords in fKeyword. Instead I need all the records that has at least one of them as a keyword. I have not tested this, but fq should as far as i know

Re: Select multiple facets with OR instead of AND

2011-05-20 Thread Dhanushka Samarakoon
That worked. Thanks :-) On Fri, May 20, 2011 at 2:53 PM, Tor Henning Ueland tor.henn...@gmail.comwrote: On Fri, May 20, 2011 at 6:52 PM, Dhanushka Samarakoon dhan...@gmail.com wrote: What this returns me is a set of results which has both the keywords in fKeyword. Instead I need all the

Re: Select multiple facets with OR instead of AND

2011-05-20 Thread Tor Henning Ueland
On Fri, May 20, 2011 at 9:59 PM, Dhanushka Samarakoon dhan...@gmail.com wrote: That worked. Thanks :-) Great! :) -- Regards Tor Henning Ueland

Re: Faceting on distance in Solr: how do you generate links that search withing a given range of distance?

2011-05-20 Thread Yonik Seeley
On Thu, May 19, 2011 at 6:40 PM, Chris Hostetter hossman_luc...@fucit.org wrote: : It is fairly simple to generate facets for ranges or 'buckets' of : distance in Solr: : http://wiki.apache.org/solr/SpatialSearch#How_to_facet_by_distance. : What isnt described is how to generate the links for

Re: Concatenate multivalued DIH fields

2011-05-20 Thread alexei
Thank you for your replies guys. Personally I like the flatten=true option. However there is still one issue with it. After stripping the tags away, I get JoeSmith instead of Joe Smith with a space (solr 3.1). Did anyone run into this issue? Cheers, Alexei -- View this message in context:

return unaltered complete multivalued fields with Highlighted results

2011-05-20 Thread alexei
Hello, I have been trying to return highlighted text in original order and without removing anything from it. Seems that highlighter sorts my text by score and skips the sections that do not have a score. I am sure I am missing something simple. Has anyone had a similar issue? I have tried

Re: Using Boost fields for a sum total score.

2011-05-20 Thread ronveenstra
Bill (et al.) : The issue I'm running into (apologies for explaining it poorly previously) is how to reference the query term in the definition of bf in solrconfig. e.g. I can statically define the search term (in this case love) in solrconfig.xml, and results are as I desire: lst

very slow commits and overlapping commits

2011-05-20 Thread Bill Au
On my Solr 1.4.1 master I am doing commits regularly at a fixed interval. I noticed that from time to time commit will take longer than the commit interval, causing commits to overlap. Then things will get worse as commit will take longer and longer. Here is the logs for a long commit:

Re: How to get Error caught in SOLR layer to SOLRj layer

2011-05-20 Thread Chris Hostetter
: But in my JAVA logs, i simply get this snippet: : ### 13 05/19 17:27:52:333 ### Runner@9be1041:: (SOLR failed with : SolrException for DocId = [2dac611a5bb7ce87831dc0245ffcb66a] and detailed : Exception: [org.apache.solr.common.SolrException: Internal Server Error Unfortunately detailed

Re: Similarity class for an individual field

2011-05-20 Thread Brian Lamb
So what was my mistake? I still have not resolved this issue. On Fri, May 20, 2011 at 11:22 AM, Brian Lamb brian.l...@journalexperts.comwrote: Yes. Was that not what I was supposed to do? On Thu, May 19, 2011 at 8:26 PM, Koji Sekiguchi k...@r.email.ne.jpwrote: (11/05/20 3:45), Brian Lamb

Re: Extracting contents of zipped files with Tika and Solr 1.4.1 (now Solr 3.1)

2011-05-20 Thread Jayendra Patil
Hi Gary, I tried the patch on the the 3.1 source code (@ http://svn.apache.org/repos/asf/lucene/dev/branches/lucene_solr_3_1/) as well and it worked fine. @Patch - https://issues.apache.org/jira/browse/SOLR-2416, which deals with the Solr Cell module. You may want to verify the contents from the