Setup instructions state: "Type a client-side folder (complete path) which should be an alias to the server-side folder." I don't understand exactly what is expected here. Can you clarify or give an example?

While the solr search works, I am not able to index documents and get the error "There is no mapped folder from server to client" in the search results. Thus, it appears that I have not set up the Client-side mapping properly.
Thanks.

Comments

cimo75’s picture

+1

cimo75’s picture

Ok i got it, eventually I had not understood the aim of this module.
tx

vijayasri01’s picture

Issue summary: View changes

Can anyone clarify about server-side folder (complete path) and client-side folder (complete path) what paths to be expected.

Also I am able to index the documents but not search the contents inside the files like pdf, doc etc.,

pedrorocha’s picture

The naming is a bit confuse, I agree. By client side I mean "the machine that is seeing the files folder via network access". This module was developed with an architecture of a file server sharing a folder with the webserver in mind.

The project was succesful and the module worked well, but at least for me, there is no interest in further development.

If anyone have interest, just let me know.

pedrorocha’s picture

Status: Active » Closed (works as designed)
vijayasri01’s picture

Thanks for the reply.

I am interested in and want to make this module work in my project. Can you please give me in detail about what to add in the solrconfig.xml and schema.xml to search the content from the files. I am not able to search the content files from the solr server but my files are indexed in the solr server through drush solr-local successfully.

Below are the lines i added to the schema.xml

<field name="filename" type="string" indexed="true" stored="true" multiValued="false"/>
    <field name="filepath" type="string" indexed="true" stored="true" multiValued="false"/>
    <field name="stream_size" type="int" indexed="true" stored="true" multiValued="false"/>

    <!-- catchall field, containing all other searchable text fields (implemented
    via copyField further on in this schema  -->
    <field name="text" type="text_general" indexed="true" stored="true" multiValued="true"/>

    
    <copyField source="filename" dest="text"/>
    <copyField source="filepath" dest="text"/>
    <copyField source="content" dest="text"/>"

and in solrconfig.xml i added below update/extract handler

 <requestHandler name="/update/extract" class="solr.handler.extraction.ExtractingRequestHandler">
   <lst name="defaults">
    <str name="fmap.Last-Modified">last_modified</str>
    <str name="fmap.content">text</str>
    <str name="lowernames">true</str>
    <str name="uprefix">attr_</str>
    <str name="captureAttr">true</str>
   </lst>
   </requestHandler>

Did I missed anything to make the files search work.

It would be a great help if you provide me instruction to get working this module in my project. I am using solr-4.10.2 and Drupal 7.

pedrorocha’s picture

thamizhvanan86’s picture

Hi,

Can any one clarify about server-side folder (complete path) and client-side folder (complete path) what paths to be expected.

I have to perform this file search. What should be the server-side folder and client side folder. Example required.