Solr search with AND and OR

2015-08-12 Thread meena.sri...@mathworks.com
I am using Solrj as solr client We have a user query like "XIO: fatal IO error 11 (Resource temporarily unavailable) on X server :0" AND "after 109" or "XIO: fatal IO error 11 (Resource temporarily unavailable) on X server :0" "after 109" currently if (syndrome.startsWith("\"") && syndrome.

Re: solr output in custom json format

2015-02-18 Thread meena.sri...@mathworks.com
Sorry I was missing the actual part that is without parsing the json output. I was looking in to Solrj QueryReponse.getBeans(Syndrome.class) , but how do I embed highlighting snippet inside each of the Syndrome object itself. Thanks meena -- View this message in context: http://lucene.47206

solr output in custom json format

2015-02-18 Thread meena.sri...@mathworks.com
I need to create custom json format of solr output for a specific UI. I was wondering if there is a way to embed "highlighting" portion inside docs itself. Thanks Meena -- View this message in context: http://lucene.472066.n3.nabble.com/solr-output-in-custom-json-format-tp4187200.html Sent fro

How to parse a raw user query

2015-02-05 Thread meena.sri...@mathworks.com
Hi I am using solr 4.9 and this is my first ventuer with solr. How do I parse a raw user query. I am using manual parsing currently and found out it is as competant and had to be complex. Is there a parser which solr provides to parse the raw queries. I am using HttpClient to make http query sear

RE: Solr 4.9 Calling DIH concurrently

2015-02-05 Thread meena.sri...@mathworks.com
Thanks James. Your idea worked well( using multiple request handlers). I will try and implement some code when I have some spare cycles. By the way by coding you mean using the same request handler and some how querying it simultaneously. Howz it possible? Thanks meena -- View this message in

RE: Solr 4.9 Calling DIH concurrently

2015-02-03 Thread meena.sri...@mathworks.com
Thanks James. After lots of search and reading now I think I understand a little from your answer. If I understand correctly my solrconfig.xml will have section like this db-data-config1.xml db-data-config1.xml . . . . . db-data-config1.xml

Solr 4.9 Calling DIH concurrently

2015-02-03 Thread meena.sri...@mathworks.com
Hi I am using solr 4.9 and need to index million of documents from database. I am using DIH and sending request to fetch by ids. Is there a way to run multiple indexing threads, concurrently in DIH. I want to take advantage of parameter. How do I do it. I am just invoking DIH handler using sol

Highting whole pharse

2015-01-13 Thread meena.sri...@mathworks.com
Highlighting does not highlight the whole Phrase, instead each word gets highlighted. I tried all the suggestions that was given, with no luck These are my special setting I tried for phrase highlighting hl.usePhraseHighlighter=true hl.q="query" http://localhost.mathworks.com:8983/solr/db/select?

Re: Solr search on a large text field is very slow

2013-08-08 Thread meena.sri...@mathworks.com
Thanks for your responses, helped me to understand the issue. Digged through the documentation and now I am implementing EdgeNGramFilterFactory to see how fastly can I improve wild card searches.

Solr search on a large text field is very slow

2013-08-08 Thread meena.sri...@mathworks.com
Index size is around 150 GB and there are around 6.5 million documents in the index. Search on a specific text field is very slow, it takes 1 minute to 2 minute for wildcard queries like *test* with no highlighting and no facets This field contributes to 90% of index size. This is my shema.xml