solr

SOLR AND+OR Query - how to do?

In Nutch I'm using Solr as a search server. I would like to perform something query like (hillary AND clinton) OR (barack AND obama) OR (..) How to do it? For me single OR query works, like india OR pakistan OR china query.AddNotRequiredTerm(term); single AND query works india AND paksitan AND China query.AddRequiredTerm(term); But...

Google like autosuggest with Solr

I'm currently using Solr with Terms Component and Jquery Autosuggest which works quiet good. However, this construct is limited to one autosuggest word (it autocompletes only the first word). Is it possible to implement a Google like autosuggest with multiple words/terms so i can autocomplete multiple words? ...

Apache Solr - are the documents itself stored internally apart from the index?

Hello, I have been trying to research how solr works when documents like doc or pdf are submitted to it. I want to know if I submit pdfs to solr, does it end up storing the pdf file also along with the index generated after parsing the pdf file? Thanks, -Keshav ...

NullPointerException in solr multicore

Hi! I'm configuring my solr for two cores and have got most of it working, but I'm getting this cryptic error. First off, here's my solr.xml: <?xml version='1.0' encoding='UTF-8'?> <solr persistent="true"> <cores adminPath="/admin/cores"> <core name="cars" dataDir="/var/lib/solr/data/cars" config="/etc/solr/home_cars/conf/solrconfi...

Presenting SOLR results merged with individual user data

I'm looking for a strategy to present a individual user's rating on a solr document. ie. Users get to put give a rating 1-5 on a document and I want to present that back to them as they search. I can think of two general approaches. Store the ratings in my RDBMS and query it after getting solr results and merge the data in business...

Solr with JQuery to build autocomplete

Hi - I have set up solr and it works. I have tested it by indexing my MySQL db and running queries on it, trying facets and trying the term suggest component (which I wish to use with autocomplete). I have recently walked through the reuters tutorial here and it worked on my local machine. Now my solr instance is on: "http://[someurl]:...

Creating demo UI ontop of Solr

I'm looking into some example UI on top of Solr that show of the functionality available in a demo, like e.g. drill down faceted search. I found Blacklight, which looks intensively interesting. Is there any other software that is worth researching or is Blacklight definitive the way to go? Thanks. ...

Architecture with 3 servers for solr search engine

I'm going to build a search engine on solr, and nutch as a crawler. I have to index about 13mln documents. I have 3 servers for this job: 4 core Xeon 3Ghz, 20Gb ram, 1.5Tb sata 2*4 core Xeon 3Ghz, 16Gb ram, 500Gb ide 2*4 core Xeon 3Ghz, 16Gb ram, 500Gb ide One of the servers I can use as a master for crawling and indexing, other twos...

use of Solr (Lucene) search on Google App Engine

Currently use of Solr or Lucene is not fully supported on Google App Engine, there are hacks around the issue but none seems perfect. If I setup the Solr server via a cloud offering somewhere else, run the main site and application on GAE but use the Solr server for search functionalities, can anyone see any problems doing doing it this...

How do I return only a truncated portion of a field in SOLR?

I have a really large (5000+ characters) text field in SOLR named Description. So far it works great for searching and highlighting. If I perform a search and there are no highlighted portions then I just show the first 300 characters. What I would like to do is just return the 300 characters in the result from SOLR. I would like to ...

How multiple index files can be used with Solrnet(lucene)?

Hi All I need to query two index files in solrnet. i will get ids from one index file and then will query other index files according to that IDs. I want to know is there any way in Solrnet to access more than one index files or simply can i modify solr.data.dir variable i solrnet on runtime. ...

how to handle highlighting in Solrnet?

hi All I have a problem in searching solr using solrnet client.. problem is when query with highlighting option on it gives me the count of highlights less than the actual results but when i search directly on solr admin page it gives same number of results in highlights is equal to number of rows specified. can i get the same number o...

Solr Index update - specific field only

When i update specific fields in solr, it deletes the original fields that are missing in the update request. Is it possible to change this behavior?? ...

How Grouping can be achieved in Solrnet/Solr(Lucene)?

Hi All I have Lucene files indexed according to pageIds (UniqueKey). and one document can have multiple pages. Now once user perform some search it gives us pages that matches search criteria. I am using Lucene.Net 2.9.2 We have 2 problems... 1- The file size is around 800GB and it has 130 million rows (pages) so the search time was ...

solrnet and ASP.NET MVC

Hello, I noticed in the solrnet examples it is not possible to drill down into search results. That is, you are presented with a list of products but cannot see the details for those products. My question is as follows: The MVC controller that calls SOLR and populates the index page essentially contains the model for each detail view...

Solr stop words question

Hi, My Solr installation is set up with the default stop words plus a few extra ones that I added. Once in a while a user types a query string that consists of all stopwords. The result is that solr returns no documents at all. What I would like to happen instead is that Solr returns all documents. Is this possible? Frank ...

Building a distributed index on Azure and Lucene.NET. Should I learn Solr and Hadoop?

I need to have my search indexes based on a Azure/Lucene.NET implementation. That being said, I don't have much knowledge of Solr and Hadoop, or what they offer the Linux crowd. Since I don't know the learning curve ahead of me, I'll tell you what I'm looking for and perhaps you can tell me how I should spend my time. I'm interested i...

How to Increase/Configure Snippet size of a highlight?

I want to know that how we can configure Snippet Size(number of words/Characters) in highlighting? Currently i m facing a problem, sometimes solr Gives me snippet exactly the matched word. like let say I query solr as "Contents:risk" using solrnet it gives me exactly "risk" in highlighting snippets no more characters or words i do the sa...

Autocomplete and Solr

Hi, I am trying to build an auto complete using Solr (TermsComponent) and Rails. Now there are several options of doing this using jRails, 'plain' jQuery, autocomplete plugin etc. What is the best way to do this? Are there any good tutorial for this? Thanks in advance for any help. ...

Where do I begin learning Lucene.NET Solr Hadoop and MapReduce?

I'm a .NET developer and I need to learn Lucene so we can run a very large scale search service that removes entries that the end user doesn't have access to. (ie a User can search for all documents with clearance level 3 or higher, but not clearance level 2 or 1) Where do I start learning, which products should I consider? To be hon...