RE: Mapping and Capture in ExtractingRequestHandler

2011-12-20 Thread Swapna Vuppala
Erick On Tue, Dec 20, 2011 at 12:54 AM, Swapna Vuppala wrote: > Hi, > > I understand that we can specify parameters in ExtractingRequestHandler in > solrconfig.xml to capture HTML tags of a particular type and map them to > desired solr fields, like something below. > > div &

Mapping and Capture in ExtractingRequestHandler

2011-12-19 Thread Swapna Vuppala
Hi, I understand that we can specify parameters in ExtractingRequestHandler in solrconfig.xml to capture HTML tags of a particular type and map them to desired solr fields, like something below. div mysolrfield The above setting will capture content in "div" tags and copy to the solr field "m

RE: Trim and copy a solr field

2011-12-15 Thread Swapna Vuppala
efore it's indexed. *Juan* On Tue, Dec 13, 2011 at 2:05 AM, Swapna Vuppala wrote: > Hi Juan, > > Thanks for the reply. I tried using this, but I don't see any effect of > the analyzer/filter. > > I tried copying my Solr field to another field of the type defined

Sorting and searching on a field

2011-12-14 Thread Swapna Vuppala
Hi, I have a field in Solr that I want to be sortable. But at the same time, I want to be able to search on that field without using wild cards. Is that possible ? For example, if I have a field "Subject" with a value "This is my first subject", searching in solr as subject:first should give me

RE: Trim and copy a solr field

2011-12-12 Thread Swapna Vuppala
y not be exactly what you want, but it will give you an idea of how to do it. I'm pretty sure there must be some other ways of doing this, but this is the first that comes to my mind. *Juan* On Mon, Dec 12, 2011 at 4:46 AM, Swapna Vuppala wrote: > Hi, > > I have a Solr field that co

Trim and copy a solr field

2011-12-11 Thread Swapna Vuppala
Hi, I have a Solr field that contains the absolute path of the file that is indexed, which will be something like file:/myserver/Folder1/SubFol1/Sub-Fol2/Test.msg. Am interested in indexing the location in a separate field. I was looking for some way to trim the field value from last occu