Re: solr distributed search example - exception

2009-06-08 Thread Rakhi Khatwani
Hi Mark, i actually got this error coz i was using an old version of java. now the problem is solved Thanks anyways Raakhi On Tue, Jun 9, 2009 at 11:17 AM, Rakhi Khatwani wrote: > Hi Mark, > yea i would like to open a JIRA issue for it. how do i go about > that? > >

Re: When searching for !...@#$%^&*() all documents are matched incorrectly

2009-06-08 Thread Øystein F. Steimler
On Monday 01 June 2009 16:50, Sam Michaels wrote: > So the fix for this problem would be > > 1. Stop using WordDelimiterFilter for queries (what is the alternative) OR > 2. Not allow any search strings without any alphanumeric characters.. We ran into this same problem while replacing all characte

Solr Multiple Queries?

2009-06-08 Thread Samnang Chhun
Hi all, I just get started looking at using Solr as my search web service. But I don't know does Solr have some features for multiple queries: - Startswith - Exact Match - Contain - Doesn't Contain - In the range Could anyone guide me how to implement those features in Solr? Cheers, Samnang

Re: solr distributed search example - exception

2009-06-08 Thread Rakhi Khatwani
Hi Mark, yea i would like to open a JIRA issue for it. how do i go about that? Regards, Raakhi On Mon, Jun 8, 2009 at 7:58 PM, Mark Miller wrote: > That is a very odd cast exception to get. Do you want to open a JIRA issue > for this? > > It looks like an odd exception because the

spellcheck /too many open files

2009-06-08 Thread revas
Hi , 1)Does the spell check component support all languages? 2) I have a scnenario where i have abt 20 webapps in a single container.We get too many open files at index time /while restarting tomcat. The mergefactor is at default. If i reduce the merge factor to 2 and optimize the index ,will

Solr relevancy score - conversion

2009-06-08 Thread Vijay_here
Hi, I am using solr to inxdex some of the legal documents, where i need the solr search engine to return relevancy ranking score for each search results. As of now i am getting score like 3.12, 1.23, 0.23 so on. Would need an more proportionate score like rounded to 100% (95% relevant, 80 %

Re: Use the same SQL Field in Dataimporthandler twice?

2009-06-08 Thread Noble Paul നോബിള്‍ नोब्ळ्
On Tue, Jun 9, 2009 at 12:41 AM, gateway0 wrote: > > Thanks for your answer. > > "${db.tableA.id}" that specifies the sql query that the Dataimporthandler > should Use the sql field "id" in table "tableA" located in Database "db". The naming convention does not work like that. if the entity name

Re: Collapse Results

2009-06-08 Thread DJP
both CollapseComponent and QueryComponent execute searches and add results to the Response. To get only Collapse results, remove the QueryComponent from the requestHandler. In solrconfig.xml, I added: > >class="org.apache.solr.handler.component.CollapseComponent" /> > > > > > >

Schema vs Dynamic Fields

2009-06-08 Thread Phil Hagelberg
On the wiki, it says: > One of the powerful features of Lucene is that you don't have to > pre-define every field when you first create your index. Even though > Solr provides strong datatyping for fields, it still preserves that > flexibility using "Dynamic Fields". Is the use of a predefined s

User Credentials for Solr Data Dir

2009-06-08 Thread vaibhav joshi
Hi, I am currently using solr 1.3 and runnign the sole as NT service. I need to store data indexes on a Remote Filer machine. the Filer needs user credentials inorder to access the same.. Is there a solr configuration which I can use to pass these credentials? I was reading some blogs

Re: Questions regarding IT search solution

2009-06-08 Thread Silent Surfer
Hi Jeff, Thanks for the link.  You are my lifesaver :)This is exactly simillar to what I am looking for. Thanks,Surfer --- On Fri, 6/5/09, Jeff Hammerbacher wrote: From: Jeff Hammerbacher Subject: Re: Questions regarding IT search solution To: solr-user@lucene.apache.org, silentsurfe...@yahoo.

Collapse Results

2009-06-08 Thread Nirkhe, Chandra
Hi, I am using Solr 1.3 with collapse patch. In the results it returns standard response as well as collapse response. How do I get just collapse response? Regards Chandra "responseHeader":{ "status":0, "QTime":25, "params":{ "collapse":"true", "wt":"json", "collapse

Re: Query faceting

2009-06-08 Thread Jay Hill
In order to get the the values you want for the service field you will need to change the fieldType definition in schema.xml for "service" to use something that doesn't alter your original values. Try the "string" fieldType to start and look at the fieldType definition for "string". I'm guessing yo

Query faceting

2009-06-08 Thread siping liu
Hi, I have a field called "service" with following values: - Shuttle Services - Senior Discounts - Laundry Rooms - ... When I conduct query with "facet=true&facet.field=service&facet.limit=-1", I get something like this back: - shuttle 2 - service 3 - senior 0 - laundry 0 - room 3 -

RE: Fetching Dynamic Fields

2009-06-08 Thread Manepalli, Kalyan
No I am looking for specific scenario. I want to query for the dynamic fields along with few normal fields. Thanks, Kalyan Manepalli -Original Message- From: Avlesh Singh [mailto:avl...@gmail.com] Sent: Monday, June 08, 2009 1:22 PM To: solr-user@lucene.apache.org Subject: Re: Fetching D

Re: Use the same SQL Field in Dataimporthandler twice?

2009-06-08 Thread gateway0
Thanks for your answer. "${db.tableA.id}" that specifies the sql query that the Dataimporthandler should Use the sql field "id" in table "tableA" located in Database "db". like in the example from the Solr Wiki: " " It´s strange I know but when I use something other than "id" as the foreign ke

Re: searchcomponent howto ...

2009-06-08 Thread DJP
sorry. my 'tab' character is linked to 'send'. i meant to include this bit of source @Override public void process(ResponseBuilder rb) throws IOException { SolrQueryRequest request = rb.req; SolrParams params = request.getParams(); String

Trie Patches- Backportable?

2009-06-08 Thread Amit Nithian
Hi, I am still using Solr 1.2 with the Lucene 2.2 that came with that version of Solr. I am interested in taking advantage of the trie filtering to alleviate some performance problems and was wondering how back-portable these patches are? I am also trying to understand how the Trie algorithm cuts

Re: Fetching Dynamic Fields

2009-06-08 Thread Avlesh Singh
Hope this helps - http://wiki.apache.org/solr/CommonQueryParameters#head-db2785986af2355759faaaca53dc8fd0b012d1ab Cheers Avlesh On Mon, Jun 8, 2009 at 9:10 PM, Manepalli, Kalyan < kalyan.manepa...@orbitz.com> wrote: > Hi all, >Is there a way to select all the dynamic fields in the fl

Re: questions about optimizations SOLR-1111,SOLR-1169,SOLR-1179

2009-06-08 Thread Marc Sturlese
Marc Sturlese wrote: > > Hey there, > I have a few questions about the new solr speed and memory imporvements. > They look like at pretty low level but I would like to understand some > stuff... > Sorry if something I say sounds odd. I am trying to optimize couple of > custom components with th

Example folder - can we change it?

2009-06-08 Thread Francis Yakin
When I install solr , by default it will install it under /opt/apache-solr-1.3.0/ The bin , config file and data is under /opt/apache-solr-1.3.0/example/solr Is there anyway that we change the example to something else? Because "example" is can be interpreted wrong ( like sample, so it's not re

Re: query issue /special character and case

2009-06-08 Thread revas
On Sat, Jun 6, 2009 at 11:40 AM, Shalin Shekhar Mangar < shalinman...@gmail.com> wrote: > On Sat, May 30, 2009 at 9:48 AM, revas wrote: > > > Hi , > > > > When i give a query like the following ,why does it become a phrase query > > as shown below? > > The field type is the default text field in

Re: query issue /special character and case

2009-06-08 Thread Jay Hill
Regarding being able to search SCHOLKOPF (o with no umlaut) and match SCHÖLKOPF (with umlaut) try using the ISOLatin1AccentFilterFactory in your analysis chain: This filter removes accented chars and replaces them with non-accented versions. As always, make sure to add it to the for both

Re: Configure Collection Distribution in Solr 1.3

2009-06-08 Thread Aleksander M. Stensby
You'll find everything you need in the Wiki. http://wiki.apache.org/solr/SolrCollectionDistributionOperationsOutline http://wiki.apache.org/solr/SolrCollectionDistributionScripts If things are still uncertain I've written a guide for when we used the solr distribution scrips on our lucene inde

Configure Collection Distribution in Solr 1.3

2009-06-08 Thread MaheshR
Hi, we configured multi-core solr 1.3 server in Tomcat 6.0.18 servlet container. Its working great. Now I need to configure collection Distribution to replicate indexing data between master and 2 slaves. Please provide me step by step instructions to configure collection distribution between mast

Fetching Dynamic Fields

2009-06-08 Thread Manepalli, Kalyan
Hi all, Is there a way to select all the dynamic fields in the fl field without using *. Here is what I am looking for. Fields in the schema, locationName_*, locationId,description,content. I want to select just the locationName_* and locationId. How can I do this without using fl=*,

Re: Terms Component

2009-06-08 Thread Aleksander M. Stensby
You can try out the nightly build of solr (which is the solr 1.4 dev version) containing all the new nice and shiny features of Solr 1.4:) To use Terms Component you simply need to configure the handler as explained in the documentation / wiki. Cheers, Aleksander On Mon, 08 Jun 2009 14:22:

Re: solr distributed search example - exception

2009-06-08 Thread Mark Miller
That is a very odd cast exception to get. Do you want to open a JIRA issue for this? It looks like an odd exception because the call is: NodeList nodes = (NodeList)solrConfig.evaluate(configPath, XPathConstants.NODESET); // cast exception is we get an ArrayList rather than NodeList Which

StreamingUpdateSolrServer recommendations?

2009-06-08 Thread Aleksander M. Stensby
Hi all, I guess this questions i mainly aimed to you, Ryan. I've been trying out your StreamingUpdateSolrServer implementation for indexin, and clearly see the improvements in indexing-times compared to the CommonsHttpSolrServer :) Great work! My question is, do you have any recommendations as to

Re: Does Solr know what host and port it is running on?

2009-06-08 Thread Noble Paul നോബിള്‍ नोब्ळ्
how about putting it in the tag? On Mon, Jun 8, 2009 at 6:39 PM, Grant Ingersoll wrote: > All good points, Paul.  I've settled on putting it into the config, as much > as I don't want to. > > > On Jun 6, 2009, at 4:59 PM, Paul Libbrecht wrote: > >> It is common knowledge that a web-application

solr distributed search example - exception

2009-06-08 Thread Rakhi Khatwani
Hi, I was executing a simple example which demonstrates DistributedSearch. example provided in the following link: http://wiki.apache.org/solr/DistributedSearch however, when i startup the server in both port nos: 8983 and 7574, i get the following exception: SEVERE: Could not start S

Re: Does Solr know what host and port it is running on?

2009-06-08 Thread Grant Ingersoll
All good points, Paul. I've settled on putting it into the config, as much as I don't want to. On Jun 6, 2009, at 4:59 PM, Paul Libbrecht wrote: It is common knowledge that a web-application cannot know it's port and host-name: - many possible cnames to host-name - potential tunnels - mos

Re: searchcomponent howto ...

2009-06-08 Thread Grant Ingersoll
Is there a question here? On Jun 7, 2009, at 2:50 PM, David Palaitis wrote: I'm trying to write a very simple SearchComponent that performs a simple operation on the query string before passing through to QueryComponent. The EncodingSearchComponent will perform something like the following

Re: Terms Component

2009-06-08 Thread Grant Ingersoll
It seems like your /terms handler is likely expecting a q parameter due to the QueryComponent being one of the Handlers SearchComponents. What does your configuration for /terms look like? -Grant On Jun 8, 2009, at 7:48 AM, Anshuman Manur wrote: Hello, I want to use the terms component i

Re: Terms Component

2009-06-08 Thread Anshuman Manur
while on the subject, can anybody tell me when Solr 1.4 might come out? Thanks Anshuman Manur On Mon, Jun 8, 2009 at 5:37 PM, Anshuman Manur wrote: > I'm using Solr 1.3 apparently.and Solr 1.4 is not out yet. > Sorry..My mistake! > > > On Mon, Jun 8, 2009 at 5:18 PM, Anshuman Manur < > a

Re: Terms Component

2009-06-08 Thread Anshuman Manur
I'm using Solr 1.3 apparently.and Solr 1.4 is not out yet. Sorry..My mistake! On Mon, Jun 8, 2009 at 5:18 PM, Anshuman Manur wrote: > Hello, > > I want to use the terms component in Solr 1.4: But > > http://localhost:8983/solr/terms?terms.fl=name > > > But, I get the following error with

Terms Component

2009-06-08 Thread Anshuman Manur
Hello, I want to use the terms component in Solr 1.4: But http://localhost:8983/solr/terms?terms.fl=name But, I get the following error with the above query: java.lang.NullPointerException at org.apache.solr.common.util.StrUtils.splitSmart(StrUtils.java:37) at org.apache.solr.

How to make wordDelimiterFilter[pulled from Solr nighly] to not break non-english words in a wrong way in lucene indexing/searching?

2009-06-08 Thread KK
Hi All, I'm trying to index some indian web page content which are basically a mix of indian and say 5% of english content in the same page itself. For all this I can not use standard or simple analyzer as they break the non-english words in a wrong places say[because the isLetter(ch) happens to be

Query on date fields

2009-06-08 Thread prerna07
Hi, I have two date attributes in my Indexes: DisplayStartDate_dt DisplayEndDate_dt I need to fetch results where today's date lies between displayStartDate and dislayEndDate. However i cannot send hardcoded displayStartdate and displayEndDate date in query as there are 1000 different dates