Re: Payloads with Phrase queries

2009-12-14 Thread Raghuveer Kancherla
Hi, Thanks everyone for the responses, I am now able to get both phrase queries and term queries to use payloads. However the the score value for each document (and consequently, the ordering of documents) are coming out wrong. In the solr output appended below, document 4 has a score higher than

Re: Searching .msg files

2009-12-14 Thread Kay Kay
I remember seeing a similar thread in the lucene user mailing list. You can check the archives of the same. As regarding the strategies - there could be 2 of them . * you can create an index per user and store the email content involving the user in the same and use it for search. (or) * you

Document model suggestion

2009-12-14 Thread caman
Appreciate any guidance here please. Have a master-child table between two tables 'TA' and 'TB' where form is the master table. Any row in TA can have multiple row in TB. e.g. row in TA id---name 1---tweets TB: id|ta_id|field0|field1|field2.|field20|created_by 1|1|value1|value2|value2.|

Searching .msg files

2009-12-14 Thread Abhishek Srivastava
Hello Everyone, In my company, we store a lot of old emails (.msg files) in a database (done for the purpose of legal compliance). The users have been asking us to give search functionality on the old emails. One of the primary requirement is that when people search, they should only be able to

Re: Simple Wildcard Search Question

2009-12-14 Thread Erick Erickson
Still not enough information. Please post the exact definition of your analyzers from your schema file. But I'm 90% sure your WordDelimterFactory is the problem, it's probably splitting our input on letter-> number transitions. Please see the page I referenced above. Best Erick On Mon, Dec 14, 2

Re: HI

2009-12-14 Thread Erick Erickson
I know this seems like a smart-aleck remark, but just don't go there . It goes against all your DB instincts, but you need to think about *de*normalizing our data. Maybe a useful mental trick is to think about what it would take to make a single table in a DB where all the information you needed w

Re: using Xinclude with multi-core

2009-12-14 Thread Chris Hostetter
: I'm trying to take advantage of the Solr 1.4 Xinclude feature to : include a different xml fragment (e.g. a different analyzer chain in : schema.xml) for each core in a multi-core setup. When the Xinclude : operates on a relative path, it seems to NOT be acting relative to the : xml file with t

Not able to display search results on Tomcat/Solrj

2009-12-14 Thread insaneyogi3008
Hello, I am running a simple prg http://old.nabble.com/file/p26779970/SolrjTest.java SolrjTest.java to get search results from a remote Solr server , I seem to correctly get back the number of documents that match my query , but I am not able to display the search results themselves . My ques

Re: 'Connection reset' in DataImportHandler Development Console

2009-12-14 Thread Andrew Clegg
aerox7 wrote: > > Hi Andrew, > I download the last build of solr (1.4) and i have the same probleme with > DebugNow in Dataimport dev Console. have you found a solution ? > Sorry about slow reply, I've been on holiday. No, I never found a solution, it worked in some nightlies but not in other

Re: preserve relational strucutre in solr?

2009-12-14 Thread Alexey Serba
http://wiki.apache.org/solr/DataImportHandler#Full_Import_Example See full import example, it has 1-n and n-n relationships On Mon, Dec 14, 2009 at 4:34 PM, Faire Mii wrote: > >  was able to import data through solr DIH. > > in my db i have 3 tables: > > threads: id tags: id thread_tag_map: thre

Re: apache-solr-common.jar

2009-12-14 Thread Israel Ekpo
2009/12/14 Noble Paul നോബിള്‍ नोब्ळ् > there is no solrcommon jar anymore. you may use the solrj jar which > contains all the classes which were there in the comon jar. > > On Mon, Dec 14, 2009 at 9:22 PM, gudumba l > wrote: > > Hello All, > > I have been using apache-solr-common-1

RE: Request Assistance with DIH

2009-12-14 Thread Ken Lane (kenlane)
Hi Robbin, I just went through this myself (I am a newbie). The key things to look at are: 1. Your data_config.xml. I created a table called 'foo' and an ora_data_config.xml file with a simple example to get it working that looks like this: Some gotcha's: If your Oracle

Re: apache-solr-common.jar

2009-12-14 Thread Noble Paul നോബിള്‍ नोब्ळ्
there is no solrcommon jar anymore. you may use the solrj jar which contains all the classes which were there in the comon jar. On Mon, Dec 14, 2009 at 9:22 PM, gudumba l wrote: > Hello All, >               I have been using apache-solr-common-1.3.0.jar in my module. > I am planning to shift to t

apache-solr-common.jar

2009-12-14 Thread gudumba l
Hello All, I have been using apache-solr-common-1.3.0.jar in my module. I am planning to shift to the latest version, because of course it has more flexibility. But it is really strange that I dont find any corresponding jar of the latest version. I have serached in total apachae sol

Re: Request Assistance with DIH

2009-12-14 Thread Noble Paul നോബിള്‍ नोब्ळ्
On Sat, Dec 12, 2009 at 6:15 AM, Robbin wrote: > I've been trying to use the DIH with oracle and would love it if someone > could give me some pointers.  I put the ojdbc14.jar in both the Tomcat lib > and /lib.  I created a dataimport.xml and enabled it in the > solrconfig.xml.  I go to the http:/

Re: Request Assistance with DIH

2009-12-14 Thread Joel Nylund
Hi, sorry im not familiar with the dataimporthandler development console, I thought you were just trying to do a import. For me to try to import data, I would do: http://localhost:8983/solr/dataimport?command=full-import Then check status of it using: http://localhost:8983/solr/dataimport

RE: Request Assistance with DIH

2009-12-14 Thread Turner, Robbin J
How does this help answer my question? I am trying to use the DATAImportHandler Development console. The url you suggest assumes I had it working already. Looking at my logs and the response to the Development console, it does not appear that the connection to Oracle is being made. So if s

Query on Cache size.

2009-12-14 Thread kalidoss
Hi, We have enabled the query result cache, its 512 entries, we have calculated the size used for cache : page size about 1000bytes, (1000*512)/1024/1024 = .48MB If we increase the cache count to 10 then the memory used for cache about. (1000*10)/1024/1024 = 96MB

preserve relational strucutre in solr?

2009-12-14 Thread Faire Mii
was able to import data through solr DIH. in my db i have 3 tables: threads: id tags: id thread_tag_map: thread_id, tag_id i want to import the many2many relationship (which thread has which tags) to my solr index. how should the query look like. i have tried with following code without r

Re: see index?

2009-12-14 Thread Faire Mii
can i save it in xml and open it? i want to see all document rows. On Dec 14, 2009, at 11:37 AM, khalid y wrote: You can go to admin page of solr : example : http://localhost:8080/solr/mycore or http://localhost:8080/solr or your url to solr :-) There you click on "schema browser" on the

Re: why cant i send to solr using jquery post/get function?

2009-12-14 Thread Faire Mii
firebug shows no response. i have tried to use "index.php" instead of the solr url and then it works and i get an alert. but when i enter: http://localhost:8983/solr/select/?q=body:hello as the url it doesnt work and nothing shows in firebug. i dont think it communicates with the solr. is t

Re: Simple Wildcard Search Question

2009-12-14 Thread QBasti
But then, how can I search for a name, when i don't know the exact number, i only know "name" and the number begins with "0", so what expression instead of "nam0*" would i have to use and why cant I use the wildcard expression? -- View this message in context: http://old.nabble.com/Simple-Wildca

Re: why cant i send to solr using jquery post/get function?

2009-12-14 Thread Faire Mii
yes i tried this: $.post('http://localhost:8983/solr/select/?q=body:hello&wt=json, function(data){ alert(data); }); but it doesnt work. could someone try that code in your app to see if it works. or is there another way of accessing through jquery? On Dec 14, 2009, at 12:46 PM,

Re: why cant i send to solr using jquery post/get function?

2009-12-14 Thread khalid y
In your place, I prefer to set the return format type in jquery like this example : $.post("test.php", { func: "getNameAndTime" }, function(data){ alert(data.name); // John console.log(data.time); // 2pm }, "json"); and in the server side with wt parameter wt=json So $.post("http:

should one use jquery or php to get results from solr index?

2009-12-14 Thread Faire Mii
im a beginner in using solr. i know that you can either use ajax solr or solr-php-client to get the search results from solr. but which should i use or are there occasions you have to choose one of them? for example, which one is a better solution for autocompletion and which one is bet

Re: why cant i send to solr using jquery post/get function?

2009-12-14 Thread khalid y
Are you tried with params wt="json" ? 2009/12/14 Faire Mii > when i enter http://localhost:8983/solr/select/?q=body:hello in the URL > field i get all the results. > > but when i'm using jquery code: > > $.post('http://localhost:8983/solr/select/?q=body:hello, function(data){ >alert(data

why cant i send to solr using jquery post/get function?

2009-12-14 Thread Faire Mii
when i enter http://localhost:8983/solr/select/?q=body:hello in the URL field i get all the results. but when i'm using jquery code: $.post('http://localhost:8983/solr/select/?q=body:hello, function(data){ alert(data); }); OR $.post('http://localhost:8983/solr/select/?, {q: 'body:he

Re: see index?

2009-12-14 Thread khalid y
You can go to admin page of solr : example : http://localhost:8080/solr/mycore or http://localhost:8080/solr or your url to solr :-) There you click on "schema browser" on the first line containing links. In the next view, click on field in the left panel and choose the field you want to inspect.

Re: how to do auto-suggest case-insensitive match and return original case field values

2009-12-14 Thread hermida
Hello, Watched the JIRA issue and saw that it got commited recently. Just tested it and it works *perfectly*, thanks Uri adding such a nice feature to Solr! For other users out there who want to do this: 1. Download the latest nightly build of Solr 1.5-dev at http://people.apache.org/builds/lu

Re: question regarding dynamic fields

2009-12-14 Thread Noble Paul നോബിള്‍ नोब्ळ्
use a copyField to copy those fields to another field and search on that On Mon, Dec 14, 2009 at 1:00 PM, Phanindra Reva wrote: > Hello.., >             I have observed that the text or keywords which are being > indexed using dynamicField concept are being searchable only when we > mention field