Re: Reading results from FieldCollapsing

2011-09-07 Thread Sowmya V.B.
interchangeably. If you go to the bug I linked to and open up the patch file, you'll see the code that implements the grouping in SolrJ, that should give you a good place to start. Best Erick On Wed, Aug 31, 2011 at 3:28 AM, Sowmya V.B. vbsow...@gmail.com wrote: Hi Erick I downloaded

Re: Reading results from FieldCollapsing

2011-09-07 Thread Sowmya V.B.
PM, Erick Erickson erickerick...@gmail.comwrote: I think it's getGroupResponse, not getGroupedResponse I was looking at source I just got this morning... Best Erick On Wed, Sep 7, 2011 at 3:32 AM, Sowmya V.B. vbsow...@gmail.com wrote: Hi Martjin Sorry for a late response. I did

Re: Reading results from FieldCollapsing

2011-09-07 Thread Sowmya V.B.
class exists, and the method is available on an instance of that class in an IDE. As I said I got a copy this morning. But 'jar tvf apache-solr-solrj-3.4-SNAPSHOT.jar' won't show you the method, just the class existence. Best Erick On Wed, Sep 7, 2011 at 7:41 AM, Sowmya V.B. vbsow

Re: Reading results from FieldCollapsing

2011-09-07 Thread Sowmya V.B.
Eclipse knowledge than me can chime in. Best Erick On Wed, Sep 7, 2011 at 9:02 AM, Sowmya V.B. vbsow...@gmail.com wrote: Hi Erick I was looking the .Java file in the Src folder (... apache-solr-3.4-2011-08-29 _18-09-28/solr/solrj/src/java/org/apache/solr/client/solrj/response

Re: Reading results from FieldCollapsing

2011-09-07 Thread Sowmya V.B.
. Thanks. Sowmya. On Wed, Sep 7, 2011 at 3:17 PM, Sowmya V.B. vbsow...@gmail.com wrote: Hi Erick does it compile? Are you absolutely sure you've pathed to the proper jar file? Did you check that the jar file that Eclipse is looking at has been rebuilt after you got the new code? -the webapp

Re: Sorting results by Range

2011-09-01 Thread Sowmya V.B.
format (csv?) demonstrating the problem you are seeing? -Hoss -- Sowmya V.B. Losing optimism is blasphemy! http://vbsowmya.wordpress.com

Re: Reading results from FieldCollapsing

2011-08-31 Thread Sowmya V.B.
, not 3.3. So, your choices are: 1 parse the XML yourself 2 get a current 3x build (as in one of the nightlys) and use SolrJ there. Best Erick On Tue, Aug 30, 2011 at 11:09 AM, Sowmya V.B. vbsow...@gmail.com wrote: Hi Erick Yes, I did see the XML format. But, I did not understand how to read

Reading results from FieldCollapsing

2011-08-30 Thread Sowmya V.B.
of the documents inside that group? S. -- Sowmya V.B. Losing optimism is blasphemy! http://vbsowmya.wordpress.com

Re: Reading results from FieldCollapsing

2011-08-30 Thread Sowmya V.B.
On Tue, Aug 30, 2011 at 9:25 AM, Sowmya V.B. vbsow...@gmail.com wrote: Hi All I am trying to use FieldCollapsing feature in Solr. On the Solr admin interface, I give ...group=truegroup.field=fieldA and I can see grouped results. But, I am not able to figure out how to read those results

Re: Grouping and performing statistics per group

2011-08-25 Thread Sowmya V.B.
if anyone can also elaborate on performing such actions using SolrJ ... Thanks. -- Sowmya V.B. Losing optimism is blasphemy! http://vbsowmya.wordpress.com

Re: Sorting results by Range

2011-08-24 Thread Sowmya V.B.
=map(map(myNumField,0,10,100),20,100,100) asc, score desc -Hoss -- Sowmya V.B. Losing optimism is blasphemy! http://vbsowmya.wordpress.com

Re: Sorting results by Range

2011-08-23 Thread Sowmya V.B.
first, with docs matching 20 sorting at the top above docs matching 19, 18, ... 10 and then after those docs all remaining matching docs will sort by score. -Hoss -- Sowmya V.B. Losing optimism is blasphemy! http://vbsowmya.wordpress.com

Sorting results by Range

2011-08-22 Thread Sowmya V.B.
://localhost:8080/ir4llsolr/select?indent=onversion=2.2q=xyzstart=0rows=10fl=title%2CdatesortBy=Field1:[20TO 30] asc -Does not throw a Syntax error, but does not seem to work anyways. Thanks for the help! Sowmya. -- Sowmya V.B. Losing optimism

Re: Sorting results by Range

2011-08-22 Thread Sowmya V.B.
really do return all the results, possibly thousands to millions of documents. If you used an fq clause, the app could sort the results without executing another search if you wanted to sort them by date... Best Erick On Mon, Aug 22, 2011 at 3:56 AM, Sowmya V.B. vbsow...@gmail.com wrote

Re: Sorting results by Range

2011-08-22 Thread Sowmya V.B.
Erick On Mon, Aug 22, 2011 at 10:07 AM, Sowmya V.B. vbsow...@gmail.com wrote: Hi Eric Let me clarify: 1) The user gives a query, and also has an option to choose the from and to values for a specific field. (For Eg: Give me all documents that match the query Solr Users

Re: *:* not returning any documents

2011-08-06 Thread Sowmya V.B.
, at 21:43, Sowmya V.B. vbsow...@gmail.com wrote: Hi All I have a working Solr servlet and a Web Interfact calling this servlet...with a well sized index. I don't remember changing anything significantly over the past few hours, but iam facing a strange problem. while a query like

*:* not returning any documents

2011-08-05 Thread Sowmya V.B.
text does return all documents relevant to that query. although this issue does not affect my application, i just got curious as to what is happening. Any suggestions, from anyone? S. -- Sowmya V.B. Losing optimism is blasphemy! http

Removing the unwanted Debug messages - Wire.java

2011-07-26 Thread Sowmya V.B.
of Wire.java, I guess, is not accessible? S -- Sowmya V.B. Losing optimism is blasphemy! http://vbsowmya.wordpress.com

Re: Getting a wierd Class Not Found Exception: SolrParams

2011-07-25 Thread Sowmya V.B.
compiles, but do you make all the jars you path to during compilation available to your servlet? And/or do you have any old jar files in your classpath? Best Erick On Thu, Jul 21, 2011 at 3:00 AM, Sowmya V.B. vbsow...@gmail.com wrote: Hi All I have been getting this wierd error since yday

Getting a wierd Class Not Found Exception: SolrParams

2011-07-21 Thread Sowmya V.B.
) Anyone had this kind of issue before? -- Sowmya V.B. Losing optimism is blasphemy! http://vbsowmya.wordpress.com

Re: query time boosting in solr

2011-07-20 Thread Sowmya V.B.
get top1 result as a document where field1 is 40..in this case..after using bq clause. I increased the boost to 10,20,50 100..but the results dont change at all. S. On Tue, Jul 19, 2011 at 4:28 PM, Sowmya V.B. vbsow...@gmail.com wrote: Hi Is query time boosting possible in Solr? Here is what

Re: query time boosting in solr

2011-07-20 Thread Sowmya V.B.
that only matched the range query, and this is not what the user wanted). Hope this helps, Tomás On Wed, Jul 20, 2011 at 5:15 AM, Sowmya V.B. vbsow...@gmail.com wrote: Can anyone throw some light on this issue? My problem is to: give a query time boost to certain documents, which

Re: query time boosting in solr

2011-07-20 Thread Sowmya V.B.
, but make sure you specify at least the qf parameter for dismax. You can activate debugQuery and you'll see which documents get boosted and which aren't. On Wed, Jul 20, 2011 at 9:21 AM, Sowmya V.B. vbsow...@gmail.com wrote: Hi Tomasso Thanks for a quick response. So, if I say

Reading Solr's JSON

2011-07-20 Thread Sowmya V.B.
Hi All Which is the best way to read Solr's JSON output, from a Java code? There seems to be a JSONParser in one of the jar files in SolrLib (org.apache.noggit..)...but I dont understand how to read the parsed output in this. Are there any better JSON parsers for Java? S -- Sowmya V.B

Re: query time boosting in solr

2011-07-20 Thread Sowmya V.B.
Field1:[20 TO 30] to have more score, right? On Wed, Jul 20, 2011 at 10:53 AM, Sowmya V.B. vbsow...@gmail.com wrote: Hi Tomas Here is what I was trying to give. http://localhost:8085/apache-solr-3.3.0/select?indent=onversion=2.2defType=dismaxq=scientificbq=Field1:[20%20TO%2030

query time boosting in solr

2011-07-19 Thread Sowmya V.B.
me different results. But, I did not quite understand what this second query meant. Does it mean: Rank those documents with field1 value in 10-30 better than those without ? S -- Sowmya V.B. Losing optimism is blasphemy! http

Re: (Solr-UIMA) Indexing problems with UIMA fields.

2011-07-14 Thread Sowmya V.B.
of 100 Docs with all the UIMA fields. So, I am hoping that this is going to work for bigger set of documents! Thanks for all the suggestions over the past few days!! S On Thu, Jul 14, 2011 at 11:48 AM, Tommaso Teofili tommaso.teof...@gmail.com wrote: 2011/7/13 Sowmya V.B. vbsow...@gmail.com

(Solr-UIMA) Indexing problems with UIMA fields.

2011-07-13 Thread Sowmya V.B.
response = server.add(docs); (where docs is a collection of documents, without UIMA indexing.) My understanding is that the UIMA annotation happens after calling the server.add(docs). Is that right? S. -- Sowmya V.B. Losing optimism

Re: (Solr-UIMA) Indexing problems with UIMA fields.

2011-07-13 Thread Sowmya V.B.
informative). So it sounds like things are behaving as I'd expect, your documents just don't contain the required fields. Best Erick On Wed, Jul 13, 2011 at 4:54 AM, Sowmya V.B. vbsow...@gmail.com wrote: Hi All I have a problem making the indexer work with the UIMA fields. Here is what I did

Re: (Solr-UIMA) Indexing problems with UIMA fields.

2011-07-13 Thread Sowmya V.B.
enough to say. I suppose it's possible that the required fields check happens *before* the UIMA stuff happens, but since I know so little about UIMA that's a blind guess at best... Anyone with real knowledge want to chime in here? Erick On Wed, Jul 13, 2011 at 8:08 AM, Sowmya V.B

Re: (Solr-UIMA) Doubt regarding integrating UIMA in to solr - Configuration.

2011-07-12 Thread Sowmya V.B.
in solrconfig.xml is not correct? koji -- http://www.rondhuit.com/en/ (11/07/12 0:52), Sowmya V.B. wrote: Hi I just added the fields which are added to the index by one of the annotators to the index, in the fieldmappings section. I am not getting any compilation errors and still see

Re: (Solr-UIMA) Doubt regarding integrating UIMA in to solr - Configuration.

2011-07-12 Thread Sowmya V.B.
/en/ (11/07/12 16:10), Sowmya V.B. wrote: Yes, I do have an '/update/javabin' request handler in SolrConfig. But, should I remove that? I tried putting the UIMA update chain inside /update/javabin instead of /update request handler.. requestHandler name=/update/javabin

Re: (Solr-UIMA) Doubt regarding integrating UIMA in to solr - Configuration.

2011-07-12 Thread Sowmya V.B.
, Sowmya V.B. vbsow...@gmail.com wrote: Hi Koji Yes, I do use SolrJ. I began recompiling the whole thing... since I thought the problem is the UIMA snapshot. Previously, I compiled files from eclipse and it worked fine. (Now I realize that eclipse compiled it because I added my jar files to its

Re: (Solr-UIMA) Doubt regarding integrating UIMA in to solr - Configuration.

2011-07-11 Thread Sowmya V.B.
:51 AM, Koji Sekiguchi k...@r.email.ne.jp wrote: Now I've pasted sample solrconfig.xml to the project top page. Can you visit and look at it again? koji -- http://www.rondhuit.com/en/ (11/07/09 2:29), Sowmya V.B. wrote: Hi Koji Thanks. I have checked out the code and began looking

Re: (Solr-UIMA) Doubt regarding integrating UIMA in to solr - Configuration.

2011-07-11 Thread Sowmya V.B.
-- http://www.rondhuit.com/en/ (11/07/11 21:54), Sowmya V.B. wrote: Hi Koji Thanks a lot for the examples. Now, I was able to compile a JAR snapshot, with my own UIMA pipeline. However, despite seeing the example solrconfig.xml, I am not able to figure out how to add mine. In the example

Re: (Solr-UIMA) Doubt regarding integrating UIMA in to solr - Configuration.

2011-07-11 Thread Sowmya V.B.
to the index. Should I still write fieldmappings for these annotators inside SolrConfig.? I don't think so. Try it and if you got errors, come back to this list! koji -- http://www.rondhuit.com/en/ -- Sowmya V.B. Losing optimism

Re: (Solr-UIMA) Doubt regarding integrating UIMA in to solr - Configuration.

2011-07-08 Thread Sowmya V.B.
. On Fri, Jul 8, 2011 at 2:03 AM, Koji Sekiguchi k...@r.email.ne.jp wrote: (11/07/07 18:38), Sowmya V.B. wrote: Hi I am trying to add UIMA module in to Solr..and began with the readme file given here. https://svn.apache.org/repos/**asf/lucene/dev/tags/lucene_** solr_3_1/solr/contrib/uima

Re: (Solr-UIMA) Doubt regarding integrating UIMA in to solr - Configuration.

2011-07-08 Thread Sowmya V.B.
for repeated mails...but its a bit confusing, because there is no README file. Thankyou once again! Sowmya. On Fri, Jul 8, 2011 at 4:07 PM, Koji Sekiguchi k...@r.email.ne.jp wrote: (11/07/08 16:19), Sowmya V.B. wrote: Hi Koji Thanks for the mail. Thanks for all the clarifications. I am now

Re: indexing but not able to search

2011-07-07 Thread Sowmya V.B.
is not tokenized. field name=text type=string indexed=true stored=true / marking them indexed=true will make them searchable but they will be indeed verbatim. Try using text_en for example. field name=text type=text_en indexed=true stored=true / --- On Thu, 7/7/11, Sowmya V.B. vbsow

Re: indexing but not able to search

2011-07-07 Thread Sowmya V.B.
...@yahoo.com wrote: Thanks for the mail. But, just a clarification: changing the field type in schema means I have to reindex to check if this works, right? Yes. restart servlet container and re-index is required. -- Sowmya V.B

(Solr-UIMA) Doubt regarding integrating UIMA in to solr - Configuration.

2011-07-07 Thread Sowmya V.B.
, mailing the group. Sorry for the long mail! Regards Sowmya V.B. Losing optimism is blasphemy! http://vbsowmya.wordpress.com

Re: (Solr-UIMA) Doubt regarding integrating UIMA in to solr - Configuration.

2011-07-07 Thread Sowmya V.B.
Can someone help me with this please? I am not able to understand from the readme.txt file provided in the trunk...how to plugin my own annotator in to solr. Sowmya. On Thu, Jul 7, 2011 at 11:38 AM, Sowmya V.B. vbsow...@gmail.com wrote: Hi I am trying to add UIMA module in to Solr

Where does the integration happen inside Solr? (Solr-UIMA)

2011-07-06 Thread Sowmya V.B.
assumed that it comes during the update response. Please correct me if I am wrong. Sowmya. -- Sowmya V.B. Losing optimism is blasphemy! http://vbsowmya.wordpress.com

indexing but not able to search

2011-07-06 Thread Sowmya V.B.
me if there is anything I am missing, on the querying config part? Sowmya. -- Sowmya V.B. Losing optimism is blasphemy! http://vbsowmya.wordpress.com

Re: indexing but not able to search

2011-07-06 Thread Sowmya V.B.
just a few hours back. Can someone tell me if there is anything I am missing, on the querying config part? Sowmya. Show your solrconfig.xml, and url you are querying to select results -- Sowmya V.B. Losing optimism is blasphemy

Re: indexing but not able to search

2011-07-06 Thread Sowmya V.B.
Hi Denis I got my answer. I should have added str name=fl*/str in the defaults list. Sowmya. On Wed, Jul 6, 2011 at 3:57 PM, Sowmya V.B. vbsow...@gmail.com wrote: Hi Url I am using to search: http://localhost:8080/apache-solr-3.3.0/select/?q=timeversion=2.2start=0rows=10indent=on http

Re: indexing but not able to search

2011-07-06 Thread Sowmya V.B.
, Jul 6, 2011 at 11:08 AM, Sowmya V.B. vbsow...@gmail.com wrote: Hi Denis I got my answer. I should have added str name=fl*/str in the defaults list. Sowmya. On Wed, Jul 6, 2011 at 3:57 PM, Sowmya V.B. vbsow...@gmail.com wrote: Hi Url I am using to search: http

Re: indexing but not able to search

2011-07-06 Thread Sowmya V.B.
? It would help a lot if you'd provide some more detailed information, please review: http://wiki.apache.org/solr/UsingMailingLists, Best Erick On Wed, Jul 6, 2011 at 12:10 PM, Sowmya V.B. vbsow...@gmail.com wrote: I am sorry..I was checking the some other solr instance that ran on this system

Re: indexing but not able to search

2011-07-06 Thread Sowmya V.B.
is of the form ?q=query or some such. 2 your default search field is title (see schema.xml).. Best Erick On Wed, Jul 6, 2011 at 12:47 PM, Sowmya V.B. vbsow...@gmail.com wrote: Hi Eric 1)Default field in schema.xml : text, which is the field 2) numDocs = 21501 maxDocs = 21554 3

Different Indexing formats for Older Lucene versions and Solr?

2011-07-05 Thread Sowmya V.B.
to use my old lucene index in the new Solr application? Sowmya. -- Sowmya V.B. Losing optimism is blasphemy! http://vbsowmya.wordpress.com

Re: Different Indexing formats for Older Lucene versions and Solr?

2011-07-05 Thread Sowmya V.B.
I was using 2.4 or 2.5. It was a 2yr old Lucene version. On Tue, Jul 5, 2011 at 10:07 AM, Tommaso Teofili tommaso.teof...@gmail.comwrote: Which Lucene version were you using? Regards, Tommaso 2011/7/5 Sowmya V.B. vbsow...@gmail.com Hi All A quick doubt on the index files of Lucene

Problems using Solr with UIMA

2011-07-04 Thread Sowmya V.B.
class 'org.apache.solr.uima.processor.UIMAUpdateRequestProcessorFactory' But, the class does exist in the JAR snapshot created from the solr/contrib/uima. Any suggestions? I did search the past archives, but did not find anything addressing this particular error... S. -- Sowmya V.B

Re: Problems using Solr with UIMA

2011-07-04 Thread Sowmya V.B.
Solr jars with different versions. Cheers, Tommaso 2011/7/4 Sowmya V.B. vbsow...@gmail.com Hi All I tried integrating UIMA in to Solr, following the instructions here: https://svn.apache.org/repos/asf/lucene/dev/trunk/solr/contrib/uima/README.txt However, I set a solrconfig error

Re: Problems using Solr with UIMA

2011-07-04 Thread Sowmya V.B.
It worked for me, since you said you were running the webapp from inside Eclipse I wonder if that's a classpath problem related to Eclipse. Hope this helps, Tommaso [1] : https://svn.apache.org/repos/asf/lucene/dev/tags/lucene_solr_3_3/solr/contrib/uima/README.txt 2011/7/4 Sowmya V.B. vbsow

Re: Problems using Solr with UIMA

2011-07-04 Thread Sowmya V.B.
On Mon, Jul 4, 2011 at 3:41 PM, Sowmya V.B. vbsow...@gmail.com wrote: Hello Tomasso It was indeed a relative path issue inside eclipse. I key-ed in the total path instead of ../../ and it ran without throwing an error. However, when I gave the path for index as an old lucene index