Re: DIH Http input bug - problem with two-level RSS walker

2008-11-02 Thread Noble Paul നോബിള്‍ नोब्ळ्
It may be fine to provide that but, what other benefit can you get which you can't get from writing a Simple DataSource in java.Script is just a convenience , right? --Noble On Mon, Nov 3, 2008 at 11:41 AM, Jon Baer <[EMAIL PROTECTED]> wrote: > On a side note ... it would be nice if your data sou

Re: DIH Http input bug - problem with two-level RSS walker

2008-11-02 Thread Jon Baer
On a side note ... it would be nice if your data source could also be the result of a script (instead of trying to hack around it w/ JdbcDataSource) ... Something similar to what ScriptTransformer does ... (http://wiki.apache.org/solr/DataImportHandler#head-27fcc2794bd71f7d727104ffc6b99e194bd

Re: DIH Http input bug - problem with two-level RSS walker

2008-11-02 Thread Noble Paul നോബിള്‍ नोब्ळ्
Hi Lance, I guess I got your problem So you wish to create docs for both entities (as suggested by Jon Baer). So the best solution would be to create two root entities. The first one should be the outer and write a transformer to store all the urls into the db . The JdbcDataSource can do inserts/up

Re: DIH Http input bug - problem with two-level RSS walker

2008-11-02 Thread Noble Paul നോബിള്‍ नोब्ळ्
Hi Lance, Do a full import w/o debug and let us know if my suggestion worked (rootEntity="false" ) . If it didn't , I can suggest u something else (Writing a Transformer ) On Sun, Nov 2, 2008 at 8:13 AM, Noble Paul നോബിള്‍ नोब्ळ् <[EMAIL PROTECTED]> wrote: > If you wish to create 1 doc per inner

Re: DIH Http input bug - problem with two-level RSS walker

2008-11-02 Thread Noble Paul നോബിള്‍ नोब्ळ्
Hi Jon , Using a CachedSqlEntityProcessor is the root entity is of no use. it must be only as good as using a SqlEntityProcessor .for classes belonging to the package 'org.apache.solr.handler.dataimport' the package name can be omited (for better readability). On Sun, Nov 2, 2008 at 8:08 AM, Jon

Re: Getting a document by primary key

2008-11-02 Thread Marc Sturlese
Hey there, I am doing the same and I am experimenting some trouble. I get the document data searching by term. The problem is that when I do it several times (inside a huge for) the app starts increasing the memory use until I use almost the whole memory... Did u find any other way to do that? J

Customize solr query

2008-11-02 Thread Marc Sturlese
Hey there, I would like to customize my query this way: I want to give higher boosting to the results that match the query ejecuted between comas and less boosting to the results matching without comas. I have it done in my own lucene app (coding straight with lucene). I am trying to migrate to S

Re: Custom sort (score + custom value)

2008-11-02 Thread Yonik Seeley
On Sun, Nov 2, 2008 at 5:09 AM, George <[EMAIL PROTECTED]> wrote: > I want to implement a custom sort in Solr based on a combination of > relevance (Solr gives me it yet => score) and a custom value I've calculated > previously for each document. I see two options: > > 1. Use a function query (I'm

Custom sort (score + custom value)

2008-11-02 Thread George
Hi, I want to implement a custom sort in Solr based on a combination of relevance (Solr gives me it yet => score) and a custom value I've calculated previously for each document. I see two options: 1. Use a function query (I'm using a DisMaxRequestHandler). 2. Create a component that set SortSpec